Rate this Page

Function torch::special::ndtr#

Function Documentation#

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

Computes the area under the standard Gaussian probability density function, integrated from minus infinity to :attr:input, elementwise See https://pytorch.org/docs/main/special.html#torch.special.ndtr.

Example:

auto t = torch::randn(128, dtype=kDouble);
torch::special::ndtr(t);