torch.erfinv
-
torch.erfinv(input, *, out=None) → Tensor
-
Computes the inverse error function of each element of
input
. The inverse error function is defined in the range as:- Parameters
-
input (Tensor) – the input tensor.
- Keyword Arguments
-
out (Tensor, optional) – the output tensor.
Example:
>>> torch.erfinv(torch.tensor([0, 0.5, -1.])) tensor([ 0.0000, 0.4769, -inf])
© 2019 Torch Contributors
Licensed under the 3-clause BSD License.
https://pytorch.org/docs/1.8.0/generated/torch.erfinv.html