def ConstructionMeaning

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

import bendtorch-core@0.1.0.0/src/tensor/construction_LAWS.bend as ConstructionLAWS
import Base
import bendtorch-core@0.1.0.0/src/tensor/core.bend as Core

59def ConstructionMeaning(+values: List<&2, F32>, result: Result<&2, &1, Core.Error, Core.Dynamic>) -> Type:
60  match result:
61    case Fail{error}:
62      Unit
63    case Done{Core.Packed{+shape, tensor}}:
64      Elements(shape, values, tensor)

Uses (7)

Used by (4)