Skip to content

Commit 7caa72c

Browse files
authored
Merge branch 'master' into fix_metric_reset
2 parents 473dfde + d1e97a4 commit 7caa72c

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

docs/source/optimizers.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ Under the hood Lightning does the following:
7373
optimizer.step()
7474
optimizer.zero_grad()
7575
76-
for scheduler in scheduler:
76+
for scheduler in schedulers:
7777
scheduler.step()
7878
7979
In the case of multiple optimizers, Lightning does the following:
@@ -87,7 +87,7 @@ In the case of multiple optimizers, Lightning does the following:
8787
train_step(opt)
8888
opt.step()
8989
90-
for scheduler in scheduler:
90+
for scheduler in schedulers:
9191
scheduler.step()
9292
9393
@@ -179,7 +179,7 @@ Lightning will call each optimizer sequentially:
179179
train_step(opt)
180180
opt.step()
181181
182-
for scheduler in scheduler:
182+
for scheduler in schedulers:
183183
scheduler.step()
184184
185185
----------

0 commit comments

Comments
 (0)