Dtype.q8_rows: def of bendtorch@1.3.0.0 Import: import bendtorch@1.3.0.0/dtype.bend as Dtype Lines 349-355 of bendtorch@1.3.0.0/dtype.bend: https://jend.leeeet.dev/read.txt?path=bendtorch@1.3.0.0/dtype.bend&start_line=349&end_line=355 import Base # the rows of a flat list of k rows of c, from the last one: each row's bytes and scale def q8_rows(k: Nat, +c: Nat, +xs: List<&2, F32>) -> QR: match k: case 0n: QR{Nil{}, Nil{}} case 1n+p: qr_add(List.take(&2, F32, xs, c), q8_rows(p, c, List.drop(&2, F32, xs, c))) Uses (7): 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=List.drop https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=List.take https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Nat https://jend.leeeet.dev/definition.txt?path=bendtorch@1.3.0.0/dtype.bend&name=QR https://jend.leeeet.dev/definition.txt?path=bendtorch@1.3.0.0/dtype.bend&name=qr_add