def mat_of

mlbend-preprocess@0.1.0.0 · main.bend:133

import mlbend-preprocess@0.1.0.0/main.bend as MlbendPreprocess
import Base
import bend-ml-tensor@0.1.0.0/main.bend as T

133# A matrix of r rows of c numbers. When the rows do not fit, the
134# matrix is empty: a shape that does not hold is not a matrix.
135def mat_of(+r: Nat, +c: Nat, +rows: List<&2, List<&2, F32>>) -> T.Mat<r, c>:
136  mat_of_(r, c, T.Mat.of(r, c, rows))

Uses (6)

Used by (3)