<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def _after_n_epoch(self, epoch_id: int, **_) -> None: """ Save the model every ``n_epochs`` epoch. :param epoch_id: number of the processed epoch """

        SaveEvery.save_model(model=self._model, name_suffix=str(epoch_id), on_failure=self._on_save_failure)