pytorch/docs/source/random.rst
zou3519 23bffc4f14 Fix most documentation warnings (#27782)
Summary:
Pull Request resolved: https://github.com/pytorch/pytorch/pull/27782

Warnings show up when running `make html` to build documentation. All of
the warnings are very reasonable and point to bugs in our docs. This PR
attempts to fix most of those warnings.

In the future we will add something to the CI that asserts that there
are no warnings in our docs.

Test Plan: - build and view changes locally

Differential Revision: D17887067

Pulled By: zou3519

fbshipit-source-id: 6bf4d08764759133b20983d6cd7f5d27e5ee3166
2019-10-13 10:34:01 -07:00

21 lines
452 B
ReStructuredText

torch.random
===================================
.. currentmodule:: 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