There was an error while loading. Please reload this page.
1 parent 11a14fd commit c5a9aa0Copy full SHA for c5a9aa0
torch/optim/lr_scheduler.py
@@ -197,7 +197,7 @@ class ReduceLROnPlateau(object):
197
198
Example:
199
>>> optimizer = torch.optim.SGD(model.parameters(), lr=0.1, momentum=0.9)
200
- >>> scheduler = torch.optim.ReduceLROnPlateau(optimizer, 'min')
+ >>> scheduler = ReduceLROnPlateau(optimizer, 'min')
201
>>> for epoch in range(10):
202
>>> train(...)
203
>>> val_loss = validate(...)
0 commit comments