add on_train_batch_start/end, chpt hooks in hooks docs (#4023)
This commit is contained in:
parent
7e756ca11f
commit
d41ffafa87
|
@ -40,6 +40,7 @@ Training loop
|
|||
^^^^^^^^^^^^^
|
||||
|
||||
- :meth:`~pytorch_lightning.core.hooks.ModelHooks.on_epoch_start`
|
||||
- :meth:`~pytorch_lightning.core.hooks.ModelHooks.on_train_batch_start`
|
||||
- :meth:`~pytorch_lightning.core.lightning.LightningModule.tbptt_split_batch`
|
||||
- :meth:`~pytorch_lightning.core.lightning.LightningModule.training_step`
|
||||
- :meth:`~pytorch_lightning.core.lightning.LightningModule.training_step_end` (optional)
|
||||
|
@ -47,6 +48,7 @@ Training loop
|
|||
- :meth:`~pytorch_lightning.core.hooks.ModelHooks.backward`
|
||||
- :meth:`~pytorch_lightning.core.hooks.ModelHooks.on_after_backward`
|
||||
- ``optimizer.step()``
|
||||
- :meth:`~pytorch_lightning.core.hooks.ModelHooks.on_train_batch_end`
|
||||
- :meth:`~pytorch_lightning.core.lightning.LightningModule.training_epoch_end`
|
||||
- :meth:`~pytorch_lightning.core.hooks.ModelHooks.on_epoch_end`
|
||||
|
||||
|
@ -90,3 +92,6 @@ General hooks
|
|||
|
||||
.. autoclass:: pytorch_lightning.core.hooks.DataHooks
|
||||
:noindex:
|
||||
|
||||
.. autoclass:: pytorch_lightning.core.hooks.CheckpointHooks
|
||||
:noindex:
|
||||
|
|
Loading…
Reference in New Issue