Skip to content

Commit 028f6cf

Browse files
authored
Fix missing enumerate
1 parent 4eda5a0 commit 028f6cf

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)