Skip to content

Commit

Permalink
Update trainer.py
Browse files Browse the repository at this point in the history
  • Loading branch information
ananthsub committed May 4, 2021
1 parent 8928822 commit d3ef271
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions pytorch_lightning/trainer/trainer.py
Original file line number Diff line number Diff line change
Expand Up @@ -1214,9 +1214,9 @@ def _cache_logged_metrics(self):
def call_hook(self, hook_name: str, *args, **kwargs) -> Any:
# Note this implementation is copy/pasted into the TrainLoop class
# in TrainLoop._on_train_epoch_end_hook
# This was done to manage the deprecation of an argument to
# on_train_epoch_end
# If making chnages to this function, ensure that those changes are also made to
# This was done to manage the deprecation of the `outputs` argument to
# `on_train_epoch_end`.
# If making changes to this function, ensure that those changes are also made to
# TrainLoop._on_train_epoch_end_hook

# set hook_name to model + reset Result obj
Expand Down

0 comments on commit d3ef271

Please sign in to comment.