A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://docs.pytorch.org/docs/stable/generated/torch.Tensor.exponential_.html below:

torch.Tensor.exponential_ — PyTorch 2.8 documentation

Fills self tensor with elements drawn from the PDF (probability density function):

Note

In probability theory, exponential distribution is supported on interval [0, inf ⁡ \inf inf) (i.e., x > = 0 x >= 0 x>=0) implying that zero can be sampled from the exponential distribution. However, torch.Tensor.exponential_() does not sample zero, which means that its actual support is the interval (0, inf ⁡ \inf inf).

Note that torch.distributions.exponential.Exponential() is supported on the interval [0, inf ⁡ \inf inf) and can sample zero.


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4