code: def after_epoch(self, epoch_id: int, **kwargs) -> None:
          
          if epoch_id % self._n_epochs == 0:
              self._after_n_epoch(epoch_id=epoch_id, **kwargs)
docs: Call ``_after_n_epoch`` method every ``n_epochs`` epoch.
  
          :param epoch_id: number of the processed epoch