  
          logger.info("Loaded model from disk: '%s'", self._filename)
          return model
  
      def save(self, is_exit: bool = False) -> None:
          """ Backup and save the model and state file.
  
          Parameters
          ----------
          is_exit: bool, optional
 
</s> remove             ``True`` if the save request has come from an exit process request otherwise ``False``
 </s> add             ``True`` if the save request has come from an exit process request otherwise ``False``. </s> remove         msg = "[Saved models]"
 </s> add         msg = "[Saved optimizer state for Snapshot]" if force_save_optimizer else "[Saved models]" </s> remove         include_optimizer = self._save_optimizer == "always" or (self._save_optimizer == "exit"
                                                                 and is_exit)
 </s> add         include_optimizer = (force_save_optimizer or
                             self._save_optimizer == "always" or
                             (self._save_optimizer == "exit" and is_exit))

    def save(self, is_exit: bool = False, force_save_optimizer: bool = False) -> None:
  
          logger.info("Loaded model from disk: '%s'", self._filename)
          return model
  
    def save(self, is_exit: bool = False, force_save_optimizer: bool = False) -> None:
          """ Backup and save the model and state file.
  
          Parameters
          ----------
          is_exit: bool, optional
keep keep keep keep replace keep keep keep keep keep
 Force saving optimizer weights on snapshot 
plugins/train/model/_base/io.py