def construct
import bendtorch-core@0.1.0.0/src/tensor/core.bend as Coreimport 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)
- bendtorch-core@0.1.0.0/src/autograd/loss:one_hot
- bendtorch-core@0.1.0.0/src/tensor/construction_LAWS:ConstructionModel
- bendtorch-core@0.1.0.0/src/tensor/construction_LAWS:public_construction_complete
- bendtorch-core@0.1.0.0/src/tensor/construction_LAWS:public_construction_elements
- bendtorch-core@0.1.0.0/src/tensor/core_LAWS:successful_construction_dimensions