Element-wise error function erf(x) = (2 / sqrt(pi)) * integral_0^x exp(-t^2) dt.
Arguments
- x
(
arrayish)
One input. Can be any float data type. An R value materializes at its default data type.
Value
(arrayish)
Has the input's shape and data type.
StableHLO
Lowers to hlo_erf(), an op of the CHLO dialect, a higher-level
companion to StableHLO that is lowered to it during compilation. See
chlo.erf.