law ordered_loop_preservation

bendtorch-core@0.1.0.0 · src/tensor/reduction_LAWS.bend:94

import bendtorch-core@0.1.0.0/src/tensor/reduction_LAWS.bend as ReductionLAWS
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/reduction.bend as Reduction

94law ordered_loop_preservation:
95  for +fuel: Nat
96  for -shape: Shape.Shape
97  for tensor: Core.Tensor<shape>
98  for +cursor: Nat
99  for +accumulator: F32
100  Preserved<shape, tensor, Reduction.natural_sum_loop(fuel, shape, tensor, cursor, accumulator)>

Uses (11)

Used by (0)

No other definition uses this definition.