def construct

bendtorch-core@0.1.0.0 · src/tensor/core.bend:426

import bendtorch-core@0.1.0.0/src/tensor/core.bend as Core
import Base
import bendtorch-core@0.1.0.0/src/shape/core.bend as Shape

426def construct(+dimensions: List<&2, U32>, values: List<&2, F32>) -> Result<&2, &1, Error, Dynamic>:
427  construct_shape(dimensions, values, Shape.construct(dimensions))

Uses (8)

Used by (5)