torch_erfinv: Erfinv

Description Usage Arguments erfinv(input, out=NULL) -> Tensor Examples

View source: R/gen-namespace.R

Description

Erfinv

Usage

1

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:

\mathrm{erfinv}(\mathrm{erf}(x)) = x

Examples

1
2
3
4
if (torch_is_installed()) {

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

torch documentation built on Oct. 7, 2021, 9:22 a.m.