BendMlTensor.Mat.mul: def of bend-ml-tensor@0.1.2.0 Import: import bend-ml-tensor@0.1.2.0/main.bend as BendMlTensor Lines 249-253 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=249&end_line=253 import Base # element-wise product (Hadamard) def Mat.mul(-r: Nat, -c: Nat, a: Mat, b: Mat) -> Mat: match a b: case Mat{x} Mat{y}: Mat{rows.zip_mul(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=rows.zip_mul