def to_mat
import bendtorch@1.3.0.0/tensor.bend as Tensorimport Base
import bend-ml-tensor-array@0.1.18.0/main.bend as TA
212def to_mat(-r: Nat, -c: Nat, t: Tensor<[r, c]>) -> TA.Mat<r, c>:
213 match t:
214 case Tensor{d}:
215 TA.Mat{d}
Uses (4)
Used by (0)
No other definition uses this definition.