def st_check

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

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

1631def st_check(ok: Bool, +dir: String, xs: List<&2, U32>) -> IO(List<&2, U32>):
1632  match ok:
1633    case True{}:
1634      IO.pure(List<&2, U32>, xs)
1635    case False{}:
1636      IO.die(List<&2, U32>, 1, dir ++ "/w/st.txt: not two numbers for each of the model's tensors; run reference/prep.py --index")

Uses (8)

Used by (1)