law ordered_sum_interpretation
import bendtorch-core@0.1.0.0/src/tensor/reduction_LAWS.bend as ReductionLAWSimport 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/reduction.bend as Reduction
102law ordered_sum_interpretation:
103 for +shape: Shape.Shape
104 for tensor: Core.Tensor<shape>
105 for +values: List<&2, F32>
106 for logical: LogicalValues(Shape.logical_numel(Shape.dimensions(shape)), shape, tensor, 0n, values)
107 Interpretation<Reduction.sum_observation(shape, Reduction.sum(shape, tensor)), Some{Reduction.sequential_sum(values, 0.0)}>
Uses (22)
Used by (0)
No other definition uses this definition.