Unlimited learning, half price | 50% off

Last chance! 50% off unlimited learning

Sale ends in


torch (version 0.3.0)

torch_erfinv: Erfinv

Description

Erfinv

Usage

torch_erfinv(self)

Arguments

self

(Tensor) the input tensor.

erfinv(input, out=NULL) -> Tensor

Computes the inverse error function of each element of input. The inverse error function is defined in the range (1,1) as:

erfinv(erf(x))=x

Examples

Run this code
# NOT RUN {
if (torch_is_installed()) {

torch_erfinv(torch_tensor(c(0, 0.5, -1.)))
}
# }

Run the code above in your browser using DataLab