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.cauchy_.html below:

torch.Tensor.cauchy_ — PyTorch 2.7 documentation

torch.Tensor.cauchy_
Tensor.cauchy_(median=0, sigma=1, *, generator=None) Tensor

Fills the tensor with numbers drawn from the Cauchy distribution:

f ( x ) = 1 π σ ( x − median )2 + σ2 f(x) = \dfrac{1}{\pi} \dfrac{\sigma}{(x - \text{median})^2 + \sigma^2} f(x)=π1(xmedian)2+σ2σ

Note

Sigma ( σ \sigma σ) is used to denote the scale parameter in Cauchy distribution.

To analyze traffic and optimize your experience, we serve cookies on this site. By clicking or navigating, you agree to allow our usage of cookies. As the current maintainers of this site, Facebook’s Cookies Policy applies. Learn more, including about available controls: Cookies Policy.


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