From a17c941cc4ec459514f5a465f5bf3af15351b54e Mon Sep 17 00:00:00 2001 From: Nicki Skafte Date: Fri, 29 Jan 2021 10:08:29 +0100 Subject: [PATCH] LR scheduler docs update (#5678) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * doc updates * typo suggestions by rohit Co-authored-by: Rohit Gupta * Apply suggestions from code review Co-authored-by: Adrian Wälchli * update based on suggestions Co-authored-by: Adrian Wälchli Co-authored-by: Rohit Gupta --- docs/source/common/optimizers.rst | 55 ++++++++++++++++++++++++------- 1 file changed, 43 insertions(+), 12 deletions(-) diff --git a/docs/source/common/optimizers.rst b/docs/source/common/optimizers.rst index 588bdefb367e3..60e0efc1dc35b 100644 --- a/docs/source/common/optimizers.rst +++ b/docs/source/common/optimizers.rst @@ -101,6 +101,8 @@ In the case of multiple optimizers, Lightning does the following: Learning rate scheduling ------------------------ Every optimizer you use can be paired with any `LearningRateScheduler `_. +In the basic use-case, the scheduler (or multiple schedulers) should be returned as the second output from the ``.configure_optimizers`` +method: .. testcode:: @@ -114,14 +116,6 @@ Every optimizer you use can be paired with any `LearningRateScheduler