Skip to content

Commit

Permalink
Update docs
Browse files Browse the repository at this point in the history
  • Loading branch information
zuoxingdong committed Sep 4, 2018
1 parent 5e783d7 commit 3d3b3b8
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 8 deletions.
2 changes: 2 additions & 0 deletions docs/requirements.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
http://download.pytorch.org/whl/cpu/torch-0.4.1-cp36-cp36m-linux_x86_64.whl
sphinx-rtd-theme
12 changes: 6 additions & 6 deletions docs/source/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,12 +18,12 @@

# Exclude some dependencies for Read the Docs to compile with
import mock
MOCK_MODULES = ['torch',
'torch.nn',
'torch.nn.functional',
'torch.nn.utils',
'torch.optim',
'torch.distributions',
MOCK_MODULES = [#'torch',
#'torch.nn',
#'torch.nn.functional',
#'torch.nn.utils',
#'torch.optim',
#'torch.distributions',
'seaborn',
'matplotlib',
'matplotlib.pyplot',
Expand Down
4 changes: 2 additions & 2 deletions lagom/core/policies/gaussian_policy.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,8 @@ class GaussianPolicy(BasePolicy):
* :attr:`std_style` indicates the parameterization of the standard deviation.
* For std_style='exp', the standard deviation is obtained by applying exponentiation on log-variance.
i.e. :math:`\exp(0.5\log\sigma^2)`
* For std_style='exp', the standard deviation is obtained by applying exponentiation on log-variance
i.e. :math:`\exp(0.5\log\sigma^2)`.
* For std_style='softplus', the standard deviation is obtained by applying softplus operation on
log-variance, i.e. :math:`f(x) = \log(1 + \exp(x))`.
Expand Down

0 comments on commit 3d3b3b8

Please sign in to comment.