Skip to content

Commit

Permalink
Merge branch 'ref/precision_plugins' of github.com:PyTorchLightning/p…
Browse files Browse the repository at this point in the history
…ytorch-lightning into ref/precision_plugins
  • Loading branch information
justusschock committed Jan 31, 2021
2 parents de8fe1b + 97eab50 commit 60445ad
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion pytorch_lightning/plugins/base_plugin.py
Original file line number Diff line number Diff line change
Expand Up @@ -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."""
Expand Down

0 comments on commit 60445ad

Please sign in to comment.