Skip to content

Commit db9a4f7

Browse files
idc9carmocca
authored andcommitted
Fix *_batch_end typos (#17188)
Co-authored-by: Carlos Mocholí <[email protected]> (cherry picked from commit 3458258)
1 parent 32950bb commit db9a4f7

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

docs/source-pytorch/upgrade/sections/1_9_advanced.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -231,15 +231,15 @@
231231
- `PR16750`_
232232

233233
* - had any logic except reducing the DP outputs in ``LightningModule.training_step_end`` hook
234-
- port it to ``LightningModule.training_batch_end`` hook
234+
- port it to ``LightningModule.on_train_batch_end`` hook
235235
- `PR16791`_
236236

237237
* - had any logic except reducing the DP outputs in ``LightningModule.validation_step_end`` hook
238-
- port it to ``LightningModule.validation_batch_end`` hook
238+
- port it to ``LightningModule.on_validation_batch_end`` hook
239239
- `PR16791`_
240240

241241
* - had any logic except reducing the DP outputs in ``LightningModule.test_step_end`` hook
242-
- port it to ``LightningModule.test_batch_end`` hook
242+
- port it to ``LightningModule.on_test_batch_end`` hook
243243
- `PR16791`_
244244

245245
* - used ``pl.strategies.DDPSpawnStrategy``

0 commit comments

Comments
 (0)