updated doc indexes

This commit is contained in:
William Falcon 2019-07-28 09:51:20 -04:00
parent b88307e927
commit 36c0fae7da
1 changed files with 2 additions and 2 deletions

View File

@ -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):