torch.Tensor.uniform_ — PyTorch 2.12 documentation
By submitting this form, I consent to receive marketing emails from the LF and its projects regarding their events, training, research, developments, and related announcements. I understand that I can unsubscribe at any time using the links in the footers of the emails I receive. Privacy Policy By submitting this form, I consent to receive marketing emails from the LF and its projects regarding their events, training, research, developments, and related announcements. I understand that I can unsubscribe at any time using the links in the footers of the emails I receive. Privacy Policy. © PyTorch. Copyright © The Linux Foundation®. All rights reserved. The Linux Foundation has registered trademarks and uses trademarks. For more information, including terms of use, privacy policy, and trademark usage, please see our Policies page. Trademark Usage. Privacy Policy. To analyze traffic and optimize your experience, we serve cookies on this site. By clicking or navigating, you agree to allow
torch.Tensor.uniform_ # Tensor. uniform_ ( from=0 , to=1 , * , generator=None ) → Tensor # Fills self tensor with numbers sampled from the continuous uniform distribution: f ( x ) = 1 to − from f(x) = \dfrac{1}{\text{to} - \text{from}} f ( x ) = to − from 1
Explore this link on the map →related reading
- torch.randn — PyTorch 2.12 documentationdocs.pytorch.org
- torch.normal — PyTorch 2.12 documentationdocs.pytorch.org
- torch.arange — PyTorch 2.12 documentationdocs.pytorch.org
- torch.empty — PyTorch 2.12 documentationdocs.pytorch.org
- torch.ones_like — PyTorch 2.12 documentationdocs.pytorch.org
- torch.zeros_like — PyTorch 2.12 documentationdocs.pytorch.org
- Paper Shaders – Ultra-fast zero-dependency shadersshaders.paper.design
- torch.Tensor — PyTorch 2.12 documentationdocs.pytorch.org
- PyTorch internals : ezyang's blogblog.ezyang.com
- Annotated Research Paper Implementations: Transformers, StyleGAN, Stable Diffusion, DDPM/DDIM, LayerNorm, Nucleus Sampling and morenn.labml.ai
- Tensors — PyTorch Tutorials 2.12.0+cu130 documentationpytorch.org
- Inverse transform sampling - Wikipediaen.wikipedia.org