def restored
import bendtorch-core@0.1.0.0/src/autograd/tensor_backward.bend as TensorBackwardimport Base
import bendtorch-core@0.1.0.0/src/shape/core.bend as Shape
294# The pass with g back in its own shape.
295def restored(+shape: Shape.Shape, pass: Pass) -> Pass:
296 Pass{saved, gradient, contributions} = pass
297 Pass{saved, relabeled(shape, gradient), contributions}