Fix typo in doc (#5270)

This commit is contained in:
Jonathan Chang 2020-12-27 07:22:53 +08:00 committed by GitHub
parent 8d8098c04e
commit d1e97a4f11
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 3 deletions

View File

@ -73,7 +73,7 @@ Under the hood Lightning does the following:
optimizer.step()
optimizer.zero_grad()
for scheduler in scheduler:
for scheduler in schedulers:
scheduler.step()
In the case of multiple optimizers, Lightning does the following:
@ -87,7 +87,7 @@ In the case of multiple optimizers, Lightning does the following:
train_step(opt)
opt.step()
for scheduler in scheduler:
for scheduler in schedulers:
scheduler.step()
@ -179,7 +179,7 @@ Lightning will call each optimizer sequentially:
train_step(opt)
opt.step()
for scheduler in scheduler:
for scheduler in schedulers:
scheduler.step()
----------