def st_check
import bend-ml-llama@0.2.1.0/main.bend as BendMlLlamaimport 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")