Rate this Page

Function torch::special::log_ndtr#

Function Documentation#

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

Computes the log of 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.log_ndtr.

Example:

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