Skip to content

Commit

Permalink
Highlighting in the documentation that square root comes before addin…
Browse files Browse the repository at this point in the history
…g epsilon. #23796
  • Loading branch information
vincentqb committed Sep 24, 2019
1 parent 04dd9b7 commit 12dcaf1
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions torch/optim/rmsprop.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,9 @@ class RMSprop(Optimizer):
The centered version first appears in `Generating Sequences
With Recurrent Neural Networks <https://arxiv.org/pdf/1308.0850v5.pdf>`_.
Note that the implementation here takes the square root of the gradient average before
adding epsilon.
Arguments:
params (iterable): iterable of parameters to optimize or dicts defining
parameter groups
Expand Down

0 comments on commit 12dcaf1

Please sign in to comment.