law reduce_retains_input

bendtorch-core@0.1.0.0 · src/autograd/reduce_LAWS.bend:114

import bendtorch-core@0.1.0.0/src/autograd/reduce_LAWS.bend as ReduceLAWS
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/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)>

Uses (6)

Used by (1)