def MatT.from_list

bend-tensors@0.0.0.2 · bend_tensors.bend:1163

import bend-tensors@0.0.0.2/bend_tensors.bend as BendTensors
import Base

1163# a MatT(r, c) from 4 * 2^r times 4 * 2^c floats in row-major order
1164def MatT.from_list(+r: Nat, +c: Nat, xs: List<&2, F32>) -> MatT(r, c):
1165  +r2 = r
1166  MatT.from_rows(r2, c, MatT.chunks(VecT.size(r2), VecT.size(c), xs))

Uses (7)

Used by (0)

No other definition uses this definition.