mlx.core.erf# erf(a: array, /, *, stream: None | Stream | Device = None) → array# Element-wise error function. \[\mathrm{erf}(x) = \frac{2}{\sqrt{\pi}} \int_0^x e^{-t^2} \, dt\] Parameters: a (array) – Input array. Returns: The error function of a. Return type: array