keras/src/callbacks/model_checkpoint.py/ModelCheckpoint/on_epoch_end
class ModelCheckpoint:    def on_epoch_end(self, epoch, logs=None):
        if self.save_freq == "epoch":
            self._save_model(epoch=epoch, batch=None, logs=logs)