ReduceLrOnPlateau: best=current -> best=copy(current) (#16364) (#16697)
authorSøren Rasmussen <soren.rasmussen@alexandra.dk>
Fri, 29 Mar 2019 13:42:52 +0000 (06:42 -0700)
committerFacebook Github Bot <facebook-github-bot@users.noreply.github.com>
Fri, 29 Mar 2019 13:56:51 +0000 (06:56 -0700)
commit95d3825e48ad8eb6caab2374d831b4e76824dc25
treecf0a1efbf035fd224afe3b065df6e583084a3c55
parentcf444f354450821a9e4288a8eb32a2a6571754e9
ReduceLrOnPlateau: best=current -> best=copy(current) (#16364) (#16697)

Summary:
Fixes #16364
Pull Request resolved: https://github.com/pytorch/pytorch/pull/16697

Differential Revision: D14680879

Pulled By: soumith

fbshipit-source-id: c50c22f3eacea4474fb3a04fe85fbf11d5a177c9
torch/optim/lr_scheduler.py