mirror of
https://github.com/pytorch/pytorch.git
synced 2025-10-20 21:14:14 +08:00
Fix SWALR
doc string (#79836)
In `torch/optim/swa_utils.py`. Pull Request resolved: https://github.com/pytorch/pytorch/pull/79836 Approved by: https://github.com/albanD
This commit is contained in:
committed by
PyTorch MergeBot
parent
e2a2ecac0e
commit
660d9ddef4
@ -204,7 +204,7 @@ class SWALR(_LRScheduler):
|
||||
(default: "cos")
|
||||
last_epoch (int): the index of the last epoch (default: -1)
|
||||
|
||||
The :class:`SWALR` scheduler is can be used together with other
|
||||
The :class:`SWALR` scheduler can be used together with other
|
||||
schedulers to switch to a constant learning rate late in the training
|
||||
as in the example below.
|
||||
|
||||
|
Reference in New Issue
Block a user