def relu_shaped
bendtorch-core@0.1.0.0 · src/autograd/tensor_backward.bend:1618
import bendtorch-core@0.1.0.0/src/autograd/tensor_backward.bend as TensorBackward
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
1618def relu_shaped(+a: Nat, entries: List<&1, Entry>, pair: Core.Dynamic & Shape.Shape) -> Tape & Result<&2, &2, Error, Nat>:
1619 (input, +shape) = pair
1620 relu_zeroed(a, entries, shape, input, Core.new(Reduction.scalar_shape(), 0.0))