Skip to content

Commit

Permalink
Update training_loop.py
Browse files Browse the repository at this point in the history
  • Loading branch information
ananthsub committed Apr 29, 2021
1 parent 8e8b46f commit deaf510
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pytorch_lightning/trainer/training_loop.py
Original file line number Diff line number Diff line change
Expand Up @@ -198,7 +198,7 @@ def on_train_batch_end(self, epoch_output, batch_end_outputs, batch, batch_idx,
# reset batch logger internals
self.trainer.logger_connector.on_train_batch_end()

def reset_train_val_dataloaders(self, model):
def reset_train_val_dataloaders(self, model) -> None:
"""
Resets train and val dataloaders if none are attached to the trainer.
Expand Down

0 comments on commit deaf510

Please sign in to comment.