Skip to content

Commit 8de7fd5

Browse files
committed
Update trainer.rst
1 parent c71488f commit 8de7fd5

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

docs/source/common/trainer.rst

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1612,8 +1612,9 @@ Options: 'full', 'top', None.
16121612
trainer = Trainer(weights_summary=None)
16131613

16141614
.. warning:: `weights_summary` is deprecated in v1.5 and will be removed in v1.7. Please pass :class:`~pytorch_lightning.callbacks.model_summary.ModelSummary`
1615-
directly to the Trainer's ``callbacks`` argument instead. To disable the model summary,
1616-
pass ``enable_model_summary = False`` to the Trainer.
1615+
directly to the Trainer's ``callbacks`` argument instead. To disable the model summary,
1616+
pass ``enable_model_summary = False`` to the Trainer.
1617+
16171618

16181619
enable_model_summary
16191620
^^^^^^^^^^^^^^^^^^^^

0 commit comments

Comments
 (0)