def load_lw

bend-ml-llama@0.2.1.0 · main.bend:1680

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

1680# layer i's weights alone (layer_test); d: the band depth (depth_for)
1681def load_lw(+c: Cfg, +dir: String, +i: Nat, +d: Nat) -> IO(LW<c>):
1682  do IO<LW<c>>:
1683    +st : List<&2, U32> <- read_st(dir, Cfg.layers(c))
1684    load_lw_st(c, dir, st, i, d)

Uses (11)

Used by (0)

No other definition uses this definition.