Skip to content

documentation nit fix for torch.Tensor.random_#2297

Merged
soumith merged 1 commit intopytorch:masterfrom
killeent:random_doc
Aug 4, 2017
Merged

documentation nit fix for torch.Tensor.random_#2297
soumith merged 1 commit intopytorch:masterfrom
killeent:random_doc

Conversation

@killeent
Copy link
Contributor

@killeent killeent commented Aug 4, 2017

Based on my understanding on the implementation, we only sample integer values: https://github.com/pytorch/pytorch/blob/master/torch/lib/TH/generic/THTensorRandom.c#L5-L24. As such, it is always the discrete uniform distribution.

@soumith soumith merged commit 8ce4401 into pytorch:master Aug 4, 2017
samnordmann pushed a commit to samnordmann/pytorch that referenced this pull request Jan 12, 2023
* Adding kernel_db code to third_party nvfuser code.

* Made a fix to properly destroy nvrtc Program. Also, made a fix to properly set disable of kernel_db.
shangerxin added a commit to shangerxin/pytorch that referenced this pull request Nov 7, 2025
shangerxin added a commit to shangerxin/pytorch that referenced this pull request Nov 11, 2025
pytorchmergebot pushed a commit to shangerxin/pytorch that referenced this pull request Nov 12, 2025
pytorchmergebot pushed a commit to shangerxin/pytorch that referenced this pull request Nov 15, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants