torch_erfinv {torch} | R Documentation |
Erfinv
torch_erfinv(self)
self |
(Tensor) the input tensor. |
Computes the inverse error function of each element of input
.
The inverse error function is defined in the range (-1, 1)
as:
\mathrm{erfinv}(\mathrm{erf}(x)) = x
if (torch_is_installed()) {
torch_erfinv(torch_tensor(c(0, 0.5, -1.)))
}