Skip to content

Commit

Permalink
Fix typo in lightning docs example (#778)
Browse files Browse the repository at this point in the history
  • Loading branch information
radandreicristian authored Jan 18, 2022
1 parent 5cb21d7 commit fd6eebf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/source/pages/lightning.rst
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ If ``on_epoch`` is True, the logger automatically logs the end of epoch metric v

def training_epoch_end(self, outputs):
# this will compute and reset the metric automatically at the epoch end
self.log('train_epoch_accuracy', self.accuracy)
self.log('train_epoch_accuracy', self.training_acc)

# this will not reset the metric automatically at the epoch end so you
# need to call it yourself
Expand Down

0 comments on commit fd6eebf

Please sign in to comment.