pytorch/torch/optim
Kirayue 9e9bfbfd8d Update old scheduler example usage (#31358)
Summary:
Update the old example usage in CosineAnnealingWarm, `scheduler.step()` should be called after `optimizer.step()`.

https://github.com/pytorch/pytorch/issues/20028#issuecomment-566061580
Pull Request resolved: https://github.com/pytorch/pytorch/pull/31358

Differential Revision: D19199311

Pulled By: vincentqb

fbshipit-source-id: cb29b95f8277d2dfa75ec2a83c1af03a5c9c9a69
2020-01-02 09:15:04 -08:00
..
__init__.py Ignore F401 in all __init__.py without putting noqa (#25823) 2019-10-23 15:28:13 -07:00
__init__.pyi Add types for the remaining optimizers. (#31130) 2019-12-12 06:36:41 -08:00
adadelta.py explicitly provide memory format when calling to *_like operators 2019-11-19 16:19:29 -08:00
adadelta.pyi Add types for the remaining optimizers. (#31130) 2019-12-12 06:36:41 -08:00
adagrad.py explicitly provide memory format when calling to *_like operators 2019-11-19 16:19:29 -08:00
adagrad.pyi Add types for the remaining optimizers. (#31130) 2019-12-12 06:36:41 -08:00
adam.py Make all optimizers consistent so that they don't change gradients inplace 2019-11-26 12:16:25 -08:00
adam.pyi More type stubs (#18511) 2019-04-01 16:03:58 -07:00
adamax.py explicitly provide memory format when calling to *_like operators 2019-11-19 16:19:29 -08:00
adamax.pyi Add types for the remaining optimizers. (#31130) 2019-12-12 06:36:41 -08:00
adamw.py explicitly provide memory format when calling to *_like operators 2019-11-19 16:19:29 -08:00
adamw.pyi Add types for the remaining optimizers. (#31130) 2019-12-12 06:36:41 -08:00
asgd.py explicitly provide memory format when calling to *_like operators 2019-11-19 16:19:29 -08:00
asgd.pyi Add types for the remaining optimizers. (#31130) 2019-12-12 06:36:41 -08:00
lbfgs.py explicitly provide memory format when calling to clone() at lbfgs.py 2019-11-07 08:20:11 -08:00
lbfgs.pyi Add types for the remaining optimizers. (#31130) 2019-12-12 06:36:41 -08:00
lr_scheduler.py Update old scheduler example usage (#31358) 2020-01-02 09:15:04 -08:00
lr_scheduler.pyi fix type annotation 2019-09-27 13:39:36 -07:00
optimizer.py Make all optimizers consistent so that they don't change gradients inplace 2019-11-26 12:16:25 -08:00
optimizer.pyi Fix optimizer type hint (#20648) 2019-05-22 11:27:40 -07:00
rmsprop.py explicitly provide memory format when calling to *_like operators 2019-11-19 16:19:29 -08:00
rmsprop.pyi Add types for the remaining optimizers. (#31130) 2019-12-12 06:36:41 -08:00
rprop.py explicitly provide memory format when calling to *_like operators 2019-11-19 16:19:29 -08:00
rprop.pyi Add types for the remaining optimizers. (#31130) 2019-12-12 06:36:41 -08:00
sgd.py Make all optimizers consistent so that they don't change gradients inplace 2019-11-26 12:16:25 -08:00
sgd.pyi More type stubs (#18511) 2019-04-01 16:03:58 -07:00
sparse_adam.py explicitly provide memory format when calling to *_like operators 2019-11-19 16:19:29 -08:00
sparse_adam.pyi Add types for the remaining optimizers. (#31130) 2019-12-12 06:36:41 -08:00