Shortcuts

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);

Docs

Access comprehensive developer documentation for PyTorch

View Docs

Tutorials

Get in-depth tutorials for beginners and advanced developers

View Tutorials

Resources

Find development resources and get your questions answered

View Resources