def Vec.wrap
import bend-tensors@0.0.0.2/bend_tensors.bend as BendTensorsimport Base
1760def Vec.wrap(+m: Nat, a: Array<F32>) -> IO(Vec<m>):
1761 IO.pure(Vec<m>, Vec.from_list(m, Flat.to_list.of(m, (U32.from_nat(m) - 1 : U32), a)))
import bend-tensors@0.0.0.2/bend_tensors.bend as BendTensorsimport Base
1760def Vec.wrap(+m: Nat, a: Array<F32>) -> IO(Vec<m>):
1761 IO.pure(Vec<m>, Vec.from_list(m, Flat.to_list.of(m, (U32.from_nat(m) - 1 : U32), a)))