diff --git a/pytorch_lightning/plugins/base_plugin.py b/pytorch_lightning/plugins/base_plugin.py index f5cbf1f14acf5..0160afa559496 100644 --- a/pytorch_lightning/plugins/base_plugin.py +++ b/pytorch_lightning/plugins/base_plugin.py @@ -29,7 +29,6 @@ def connect(self, model: torch.nn.Module, *args: Sequence, **kwargs: Sequence) - def pre_optimizer_step(self, optimizer: torch.optim.Optimizer, optimizer_idx: int) -> None: """Hook to do something before each optimizer step.""" - pass def post_optimizer_step(self, optimizer: torch.optim.Optimizer, optimizer_idx: int) -> None: """Hook to do something after each optimizer step."""