summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorDerek Kim <bluewhale8202@gmail.com>2019-01-23 02:57:56 -0800
committerFacebook Github Bot <facebook-github-bot@users.noreply.github.com>2019-01-23 03:03:10 -0800
commit36e27aa092359a461ca8450ef5065ecca59db258 (patch)
tree911f500b7657f050a2e1ebe55511c63bd0539800 /docs
parent8b49efe86adf4afed395b4afc1165e092a5622af (diff)
downloadpytorch-36e27aa092359a461ca8450ef5065ecca59db258.tar.gz
pytorch-36e27aa092359a461ca8450ef5065ecca59db258.tar.bz2
pytorch-36e27aa092359a461ca8450ef5065ecca59db258.zip
Typos and broken RSTs fixed in torch.distribution (#16136)
Summary: - probabilty -> probability - make long lines break - Add LogitRelaxedBernoulli in distribution.rst Pull Request resolved: https://github.com/pytorch/pytorch/pull/16136 Differential Revision: D13780406 Pulled By: soumith fbshipit-source-id: 54beb975eb18c7d67779a9631dacf7d1461a6b32
Diffstat (limited to 'docs')
-rw-r--r--docs/source/distributions.rst9
1 files changed, 9 insertions, 0 deletions
diff --git a/docs/source/distributions.rst b/docs/source/distributions.rst
index de541b467e..5a8a00f413 100644
--- a/docs/source/distributions.rst
+++ b/docs/source/distributions.rst
@@ -257,6 +257,15 @@ Probability distributions - torch.distributions
:undoc-members:
:show-inheritance:
+:hidden:`LogitRelaxedBernoulli`
+~~~~~~~~~~~~~~~~~~~~~~~~~~~
+
+.. currentmodule:: torch.distributions.relaxed_bernoulli
+.. autoclass:: LogitRelaxedBernoulli
+ :members:
+ :undoc-members:
+ :show-inheritance:
+
:hidden:`RelaxedOneHotCategorical`
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~