Python wrappers
Public Python APIs implemented by this engine symbol.Autograd node for the element-wise reciprocal .
Saves the input x so the backward pass can form in the
denominator without recomputing the forward result. The forward and
backward are both undefined at and the caller is responsible for
avoiding that domain point.
Math
\frac{\partial y}{\partial x} = -\frac{1}{x^2}, \qquad \frac{\partial \mathcal{L}}{\partial x} = -\frac{1}{x^2}\,\frac{\partial \mathcal{L}}{\partial y}.$$Attributes
schema_v1OpSchemaRegistered as
"reciprocal" with AmpPolicy::Promote.Notes
Dispatch: Accelerate vForce reciprocal kernel (CPU) / MLX
element-wise reciprocal (GPU).