law reduce_retains_input
import bendtorch-core@0.1.0.0/src/autograd/reduce_LAWS.bend as ReduceLAWSimport 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/autograd/reduce.bend as Reduce
114# The contribution owner comes back with the same dimensions and observations.
115law reduce_retains_input:
116 for input: Core.Dynamic
117 for +target: Shape.Shape
118 Retained<input, Reduce.reduce_to(input, target)>