code: def _update_decreasing(self):
      # Decrease tolerance
      self.current_tolerance -= 1
  
      # Log
      logger.info(
          "Decreasing patience: {}/{}".format(
              self.current_tolerance, self.tolerance
          )
      )
      # Log
      if self.current_tolerance == 0:
          logger.info(
              "Training finished after not improving. Early Stop!"
          )
          self._log_best_step()
  
      self._decreasing_or_stopped_status_update(self.current_tolerance)
  
imports: from enum import Enum
  from onmt.utils.logging import logger
label_desc: Use image node_id 5 for calling the EarlyStopping obj's underlying member method code with example usage: obj._update_decreasing() without return types