def Flat.transpose

bend-tensors@0.0.0.2 · bend_tensors.bend:2172

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

2172def Flat.transpose(+rows: Nat, +cols: Nat, m: Flat<rows, cols>) -> Flat<cols, rows>:
2173  FlatS{a} = m
2174  Flat.transpose.fin(rows, cols, Flat.transpose.go(Flat.count(rows, cols), 0, U32.from_nat(rows), U32.from_nat(cols), (a, Array.new(F32, Flat.depth(Flat.count(rows, cols)), 0.0))))

Uses (10)

Used by (0)

No other definition uses this definition.