law public_from_values_complete

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

import bendtorch-core@0.1.0.0/src/tensor/construction_LAWS.bend as ConstructionLAWS
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_totality.bend as Totality

79law public_from_values_complete:
80  for +shape: Shape.Shape
81  for +values: List<&2, F32>
82  for counted: {List.length(&2, F32, values) == Shape.logical_numel(Shape.dimensions(shape)) : Nat}
83  Totality.TensorDone<shape, Core.from_values(shape, values)>

Uses (10)

Used by (0)

No other definition uses this definition.