Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix typing error of torch/optim/lr_scheduler.pyi (#41775)
Summary: * add `_LRScheduler.get_last_lr` type stub. * remove `CosineAnnealingWarmRestarts.step` because its signature is same with `_LRScheduler`'s. Pull Request resolved: pytorch/pytorch#41775 Reviewed By: izdeby Differential Revision: D22649350 Pulled By: vincentqb fbshipit-source-id: 5355dd062a5af437f4fc153244dda793a2382e7e
- Loading branch information