BendMlTensor.Mat.matmul_t: def of bend-ml-tensor@0.1.2.0 Import: import bend-ml-tensor@0.1.2.0/main.bend as BendMlTensor Lines 276-282 of bend-ml-tensor@0.1.2.0/main.bend: https://jend.leeeet.dev/read.txt?path=bend-ml-tensor@0.1.2.0/main.bend&start_line=276&end_line=282 import Base # (n x k) · (m x k)ᵀ = (n x m): the second operand arrives already TRANSPOSED (stored as # m rows of k numbers). It avoids transposing large weights on every call; the type # still requires the same inner dimension k. def Mat.matmul_t(-n: Nat, -k: Nat, -m: Nat, a: Mat, bt: Mat) -> Mat: match a bt: case Mat{x} Mat{y}: Mat{matmul.rows(x, y)} Uses (3): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Nat https://jend.leeeet.dev/definition.txt?path=bend-ml-tensor@0.1.2.0/main.bend&name=Mat https://jend.leeeet.dev/definition.txt?path=bend-ml-tensor@0.1.2.0/main.bend&name=matmul.rows