Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Adds torch.random to docs/toc (#23553)
Summary: Fix for pytorch/pytorch.github.io#162 Pull Request resolved: #23553 Differential Revision: D16700003 Pulled By: soumith fbshipit-source-id: 0d988985fee9aeadd01f9caba24987f960ce2470
- Loading branch information
1 parent
1a9334e
commit b8b86de
Showing
2 changed files
with
22 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
torch.random | ||
=================================== | ||
|
||
.. currentmodule:: torch.random | ||
|
||
.. automodule:: torch.random | ||
:members: | ||
|
||
Random Number Generator | ||
------------------------- | ||
.. autofunction:: get_rng_state | ||
.. autofunction:: get_rng_state_all | ||
.. autofunction:: set_rng_state | ||
.. autofunction:: set_rng_state_all | ||
.. autofunction:: manual_seed | ||
.. autofunction:: manual_seed_all | ||
.. autofunction:: seed | ||
.. autofunction:: seed_all | ||
.. autofunction:: initial_seed | ||
.. autofunction:: fork_rng | ||
|