Python wrappers
Public Python APIs implemented by this engine symbol.Autograd node for the element-wise inverse error function .
Saves the output so the backward pass can form without needing to invert a second time. Defined on ; the gradient is unbounded as .
Math
\frac{\partial y}{\partial x} = \frac{\sqrt{\pi}}{2}\,e^{y^2}, \qquad \frac{\partial \mathcal{L}}{\partial x} = \frac{\sqrt{\pi}}{2}\,e^{y^2}\,\frac{\partial \mathcal{L}}{\partial y}.$$Attributes
schema_v1OpSchemaRegistered as
"erfinv" with AmpPolicy::Promote.kSavesInputboolfalse.kSavesOutputbooltrue — saved tensor is .Notes
Dispatch: Accelerate erfinv kernel (CPU) / MLX erfinv (GPU).