forked from pytorch/pytorch
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add momentum and centered options to RMSProp (pytorch#810)
* add momentum and centered options Add two options : - Momentum (like SGD's momentum) - Centered RMSprop, as in Graves 2013 ( https://arxiv.org/abs/1308.0850 ) : grad is normalized by running estimation of its variance * somme PEP8 * bug in default * bug2 * sign mistake * alloc of momentum & centered only if needed * add link to docstring * some pep8 on docstring * implement __setstate__() for backward compatibilty * correct grammar mistake * multiply by lr when adding delta to params * rename momentum variables * change __init__ params order
- Loading branch information
1 parent
a462edd
commit b1c2714
Showing
1 changed file
with
34 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters