Dtype.qr_add: def of bendtorch@1.3.0.0 Import: import bendtorch@1.3.0.0/dtype.bend as Dtype Lines 343-347 of bendtorch@1.3.0.0/dtype.bend: https://jend.leeeet.dev/read.txt?path=bendtorch@1.3.0.0/dtype.bend&start_line=343&end_line=347 import Base def qr_add(+row: List<&2, F32>, r: QR) -> QR: match r: case QR{qs, ss}: +s = (amax_l(row, 0.0) / 127.0 : F32) QR{List.append(&2, U32, q8_row(row, s), qs), s <> ss} Uses (8): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=F32 https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=F32.div https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=List https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=List.append https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=U32 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=amax_l https://jend.leeeet.dev/definition.txt?path=bendtorch@1.3.0.0/dtype.bend&name=q8_row