To add state dict and load_dict for Chained Scheduler (#65034)
authorIlqar Ramazanli <iramazanli@fb.com>
Wed, 15 Sep 2021 20:07:59 +0000 (13:07 -0700)
committerFacebook GitHub Bot <facebook-github-bot@users.noreply.github.com>
Wed, 15 Sep 2021 20:11:41 +0000 (13:11 -0700)
commitdf3d649380599c6016c4be9b01a9dc3bf8e98fb5
treefe016751bf18354dce8fa744793594a609c808c4
parent6512838fabcbbf2854597790c62599af1e7f74ed
To add state dict and load_dict for Chained Scheduler (#65034)

Summary:
Adding state_dict() and load_state_dict() methods for Chained Scheduler

Pull Request resolved: https://github.com/pytorch/pytorch/pull/65034

Reviewed By: prabhat00155, nateanl

Differential Revision: D30958207

Pulled By: datumbox

fbshipit-source-id: 1a587a330d34e0548e891a39f8fb5a3d251b71fa
torch/optim/lr_scheduler.py