Python wrappers
Public Python APIs implemented by this engine symbol.Autograd node for the element-wise error function .
Saves the input x so the backward pass can build .
Defined on all of with range .
Math
\frac{\partial y}{\partial x} = \frac{2}{\sqrt{\pi}}\,e^{-x^2}, \qquad \frac{\partial \mathcal{L}}{\partial x} = \frac{2}{\sqrt{\pi}}\,e^{-x^2}\,\frac{\partial \mathcal{L}}{\partial y}.$$Attributes
schema_v1OpSchemaRegistered as
"erf" with AmpPolicy::Promote.Notes
Dispatch: Accelerate erf kernel (CPU) / MLX erf (GPU).