Shortcuts

Function torch::special::ndtr

Function Documentation

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/master/special.html#torch.special.ndtr.

Example:

auto t = torch::randn(128, dtype=kDouble);
torch::special::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