erfinv¶
- paddle. erfinv ( x, name=None ) [source]
-
The inverse error function of x, .
- Equation:
-
\[erfinv(erf(x)) = x.\]
- Parameters
-
x (Tensor) – An N-D Tensor, the data type is float32, float64.
name (str, optional) – Name for the operation (optional, default is None). For more information, please refer to Name.
- Returns
-
An N-D Tensor, the shape and data type is the same with input.
- Return type
-
out (Tensor)
Example
import paddle x = paddle.to_tensor([0, 0.5, -1.], dtype="float32") out = paddle.erfinv(x) # out: [0, 0.4769, -inf]