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\] 参数: a (array) -- Input array. 返回: The error function of a. 返回类型: array