def read_cfg

bend-ml-llama@0.2.0.0 · main.bend:1339

import bend-ml-llama@0.2.0.0/main.bend as BendMlLlama
import Base

1339# the config of the model in dir (written by reference/prep.py)
1340def read_cfg(+dir: String) -> IO(Cfg):
1341  do IO<Cfg>:
1342    bs : List<&2, U32> <- read_bytes(dir ++ "/cfg.txt")
1343    cfg_of(dir ++ "/cfg.txt", u32s(bs))

Uses (10)

Used by (0)

No other definition uses this definition.