Skip to content

Commit 9b7c692

Browse files
amoreheadBorda
authored andcommitted
docs: Fix missing enumerate loop (#20592)
(cherry picked from commit b313cd9)
1 parent d0979d4 commit 9b7c692

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/source-pytorch/common/lightning_module.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -1094,7 +1094,7 @@ for more information.
10941094
10951095
on_train_epoch_start()
10961096
1097-
for batch in train_dataloader():
1097+
for batch_idx, batch in enumerate(train_dataloader()):
10981098
on_train_batch_start()
10991099
11001100
on_before_batch_transfer()

0 commit comments

Comments
 (0)