def Vec.of
import bend-ml-tensor@0.1.2.0/main.bend as BendMlTensorimport Base
450# Vec<n> from a list, only if it has exactly n numbers
451def Vec.of(n: Nat, +xs: List<&2, F32>) -> Maybe<&2, Vec<n>>:
452 Vec.of2(n, len.eq(xs, n), xs)
Uses (7)
Used by (0)
No other definition uses this definition.