Skip to content

Commit 51cabe5

Browse files
authored
Update docs/source/optimizers.rst
1 parent 439f6b7 commit 51cabe5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/source/optimizers.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -210,7 +210,7 @@ For example, here step optimizer A every 2 batches and optimizer B every 4 batch
210210
if batch_nb % 4 == 0 :
211211
optimizer.step(closure=closure)
212212
213-
.. note:: When using ``Trainer(enable_pl_optimizer=True)``, ``.step`` accept a boolean ``make_optimizer_step`` which can be used as follow.
213+
.. note:: When using ``Trainer(enable_pl_optimizer=True)``, ``.step`` accepts a boolean ``make_optimizer_step`` which can be used as follow.
214214
215215
.. testcode::
216216

0 commit comments

Comments
 (0)