def construction_values_elements
bendtorch-core@0.1.0.0 · src/tensor/construction_PROOF.bend:357
import bendtorch-core@0.1.0.0/src/tensor/construction_PROOF.bend as ConstructionPROOF
import Base
import bendtorch-core@0.1.0.0/src/shape/core.bend as Shape
import bendtorch-core@0.1.0.0/src/tensor/core.bend as Core
import bendtorch-core@0.1.0.0/src/tensor/construction_LAWS.bend as Laws
357def construction_values_elements(+shape: Shape.Shape, +values: List<&2, F32>,
358 result: Result<&2, &1, Core.Error, Core.Tensor<shape>>, -meaning: Laws.FromValuesMeaning(shape, values, result)) ->
359 ConstructionOutcome<values, Core.construct_values(shape, result)>:
360 match result:
361 case Fail{error}:
362 ConstructionOutcome{Unit{}}
363 case Done{tensor}:
364 ConstructionOutcome{meaning}