def Mat.ones
import bend-tensors@0.0.0.2/bend_tensors.bend as BendTensorsimport Base
1424def Mat.ones(+rows: Nat, +cols: Nat) -> Mat<rows, cols>:
1425 Mat.full(rows, cols, 1.0)
Uses (3)
Used by (0)
No other definition uses this definition.
import bend-tensors@0.0.0.2/bend_tensors.bend as BendTensorsimport Base
1424def Mat.ones(+rows: Nat, +cols: Nat) -> Mat<rows, cols>:
1425 Mat.full(rows, cols, 1.0)
No other definition uses this definition.