mirror of
https://github.com/zebrajr/pytorch.git
synced 2025-12-06 12:20:52 +01:00
Remove duplicated entries in random.rst (#39725)
Summary: In the current master doc, every function under [`torch.random`](https://pytorch.org/docs/master/random.html) appears twice because the function docs are generated by both `automodule` and `autofunction`. This PR removes the parts generated by `autofunction`. See changed docs at https://5751500-65600975-gh.circle-artifacts.com/0/docs/random.html:  Pull Request resolved: https://github.com/pytorch/pytorch/pull/39725 Differential Revision: D21983701 Pulled By: ngimel fbshipit-source-id: 5f515d7fd8034687e754e2c7b2ea9e154b3ea9b9
This commit is contained in:
parent
be838504a3
commit
96870181c6
|
|
@ -5,16 +5,3 @@ torch.random
|
|||
|
||||
.. automodule:: torch.random
|
||||
:members:
|
||||
|
||||
Random Number Generator
|
||||
-------------------------
|
||||
.. FIXME: We're missing torch.random.cuda docs.
|
||||
https://github.com/pytorch/pytorch/issues/27778
|
||||
|
||||
.. autofunction:: get_rng_state
|
||||
.. autofunction:: set_rng_state
|
||||
.. autofunction:: manual_seed
|
||||
.. autofunction:: seed
|
||||
.. autofunction:: initial_seed
|
||||
.. autofunction:: fork_rng
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user