From 36c0fae7da960c4516a4ff48bc66bac2de422d7b Mon Sep 17 00:00:00 2001 From: William Falcon Date: Sun, 28 Jul 2019 09:51:20 -0400 Subject: [PATCH] updated doc indexes --- docs/LightningModule/RequiredTrainerInterface.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/LightningModule/RequiredTrainerInterface.md b/docs/LightningModule/RequiredTrainerInterface.md index ef7c2e3008..da230ea611 100644 --- a/docs/LightningModule/RequiredTrainerInterface.md +++ b/docs/LightningModule/RequiredTrainerInterface.md @@ -230,7 +230,7 @@ Lightning will call .backward() and .step() on each one in every epoch. If you ##### Return -Tuple - List of optimizers and list of schedulers +List or Tuple - List of optimizers with an optional second list of learning-rate schedulers **Example** @@ -238,7 +238,7 @@ Tuple - List of optimizers and list of schedulers # most cases def configure_optimizers(self): opt = Adam(self.parameters(), lr=0.01) - return [opt], [] + return [opt] # gan example, with scheduler for discriminator def configure_optimizers(self):