Shortcuts

torch.Tensor.exponential_

Tensor.exponential_(lambd=1, *, generator=None) Tensor

Fills self tensor with elements drawn from the exponential distribution:

f(x)=λeλxf(x) = \lambda e^{-\lambda x}

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