def Mat.add
import bend-ml-tensor@0.1.2.0/main.bend as BendMlTensorimport Base
239def Mat.add(-r: Nat, -c: Nat, a: Mat<r, c>, b: Mat<r, c>) -> Mat<r, c>:
240 match a b:
241 case Mat{x} Mat{y}:
242 Mat{rows.zip_add(x, y)}
Uses (3)
Used by (0)
No other definition uses this definition.