From d1e97a4f114a285349e31e330c7bf8937bc1ee04 Mon Sep 17 00:00:00 2001 From: Jonathan Chang <31893406+cccntu@users.noreply.github.com> Date: Sun, 27 Dec 2020 07:22:53 +0800 Subject: [PATCH] Fix typo in doc (#5270) --- docs/source/optimizers.rst | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/source/optimizers.rst b/docs/source/optimizers.rst index 446a21b5b1..53d98076e8 100644 --- a/docs/source/optimizers.rst +++ b/docs/source/optimizers.rst @@ -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() ----------