parameters: (self)
docstring: Resets wait counter and cooldown counter.
docstring_summary: Resets wait counter and cooldown counter.
docstring_tokens: Resets wait counter and cooldown counter .
function: def _reset(self):
      """Resets wait counter and cooldown counter.
      """
      if self.mode not in ['auto', 'min', 'max']:
        logging.warning('Learning Rate Plateau Reducing mode %s is unknown, '
                        'fallback to auto mode.' % (self.mode))
        self.mode = 'auto'
      if (self.mode == 'min' or
          (self.mode == 'auto' and 'acc' not in self.monitor)):
        self.monitor_op = lambda a, b: np.less(a, b - self.epsilon)
        self.best = np.Inf
      else:
        self.monitor_op = lambda a, b: np.greater(a, b + self.epsilon)
        self.best = -np.Inf
      self.cooldown_counter = 0
      self.wait = 0
      self.lr_epsilon = self.min_lr * 1e-4
function_tokens: def _reset ( self ) : if self . mode not in [ 'auto' , 'min' , 'max' ] : logging . warning ( 'Learning Rate Plateau Reducing mode %s is unknown, ' 'fallback to auto mode.' % ( self . mode ) ) self . mode = 'auto' if ( self . mode == 'min' or ( self . mode == 'auto' and 'acc' not in self . monitor ) ) : self . monitor_op = lambda a , b : np . less ( a , b - self . epsilon ) self . best = np . Inf else : self . monitor_op = lambda a , b : np . greater ( a , b + self . epsilon ) self . best = - np . Inf self . cooldown_counter = 0 self . wait = 0 self . lr_epsilon = self . min_lr * 1e-4