Rate this Page

Function torch::special::ndtri#

Function Documentation#

inline Tensor torch::special::ndtri(const Tensor &self)#

Computes the argument, x, for which the area under the Gaussian probability density function (integrated from minus infinity to x) is equal to input, elementwise.

See https://pytorch.org/docs/main/special.html#torch.special.ndtri

Example:

auto t = torch::rand(128, dtype=kDouble);
torch::special::ndtri(t);