def read_cfg
import bend-ml-llama@0.2.1.0/main.bend as BendMlLlamaimport Base
1606# the config of the model in dir (written by reference/prep.py)
1607def read_cfg(+dir: String) -> IO(Cfg):
1608 do IO<Cfg>:
1609 bs : List<&2, U32> <- read_bytes(dir ++ "/cfg.txt")
1610 cfg_of(dir ++ "/cfg.txt", u32s(bs))
Uses (10)
Used by (0)
No other definition uses this definition.