def Flat.clone

bend-tensors@0.0.0.2 · bend_tensors.bend:1771

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

1771# two copies; open the pair in a def of your own (a do block cannot)
1772def Flat.clone(+rows: Nat, +cols: Nat, m: Flat<rows, cols>) -> Flat<rows, cols> & Flat<rows, cols>:
1773  FlatS{a} = m
1774  Flat.clone.fin(rows, cols, Array.clone(F32, a))

Uses (6)

Used by (0)

No other definition uses this definition.