BendMlLlama.mv: def of bend-ml-llama@0.2.1.0 Import: import bend-ml-llama@0.2.1.0/main.bend as BendMlLlama Lines 924-926 of bend-ml-llama@0.2.1.0/main.bend: https://jend.leeeet.dev/read.txt?path=bend-ml-llama@0.2.1.0/main.bend&start_line=924&end_line=926 import Base import bend-ml-tensor-array@0.1.19.0/main.bend as TA # y = W ยท x, then `then` with W handed back and y (an Array has one owner, so a product returns its matrix) def mv(-B: Type, +r: Nat, +k: Nat, w: TA.Bands, +x: List<&2, F32>, then: TA.Bands -> List<&2, F32> -> B) -> B: mv.go(B, r, k, TA.Bands.matvec_l(r, k, w, x), then) Uses (6): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=F32 https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=List https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Nat https://jend.leeeet.dev/definition.txt?path=bend-ml-llama@0.2.1.0/main.bend&name=mv.go https://jend.leeeet.dev/definition.txt?path=bend-ml-tensor-array@0.1.19.0/main.bend&name=Bands https://jend.leeeet.dev/definition.txt?path=bend-ml-tensor-array@0.1.19.0/main.bend&name=Bands.matvec_l