File tree Expand file tree Collapse file tree 2 files changed +2
-3
lines changed Expand file tree Collapse file tree 2 files changed +2
-3
lines changed Original file line number Diff line number Diff line change @@ -104,7 +104,7 @@ def on_train_epoch_end(
104104 """Called when the train epoch ends.
105105
106106 To access all batch outputs at the end of the epoch, either:
107- 1. Implement `training_epoch_end` in the LightningModule and access outputs via the module OR
107+ 1. Implement `training_epoch_end` in the ` LightningModule` and access outputs via the module OR
108108 2. Cache data across train batch hooks inside the callback implementation to post-process in this hook.
109109 """
110110 pass
Original file line number Diff line number Diff line change @@ -241,8 +241,7 @@ def on_train_epoch_end(self, unused: Optional = None) -> None:
241241
242242 To access all batch outputs at the end of the epoch, either:
243243 1. Implement `training_epoch_end` in the LightningModule OR
244- 2. Cache data across steps on attribute(s) of the LightningModule
245- and access them in this hook
244+ 2. Cache data across steps on the attribute(s) of the `LightningModule` and access them in this hook
246245 """
247246
248247 def on_validation_epoch_start (self ) -> None :
You can’t perform that action at this time.
0 commit comments