def construct_values
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
411def construct_values(+shape: Shape.Shape, result: Result<&2, &1, Error, Tensor<shape>>) -> Result<&2, &1, Error, Dynamic>:
412 match result:
413 case Fail{error}:
414 Fail{error}
415 case Done{tensor}:
416 Done{pack(shape, tensor)}
Uses (6)
Used by (7)
- bendtorch-core@0.1.0.0/src/tensor/core:construct_shape
- bendtorch-core@0.1.0.0/src/autograd/gradient:gradient
- bendtorch-core@0.1.0.0/src/autograd/gradient_PROOF:unset_zeros
- bendtorch-core@0.1.0.0/src/tensor/construction_PROOF:construction_shape_elements
- bendtorch-core@0.1.0.0/src/tensor/construction_PROOF:construction_values_complete
- …