class_docstr: Early stopping on plateau helper.
  
  Parameters
  ----------
  patience : int, default is -1
      How many epochs with no improvement after which train will be early stopped.
      Negative patience means infinite petience.
  metric_fn : function, default is None
      The function to apply to metric value if any. For example, you can use
      the `metric_fn` to cast loss to negative values where lower loss is better.
      `min_delta`, `baseline_value` and `max_value` are all based on output of `metric_fn`.
  min_delta : float, default is 1e-4
      Early stopper ignores changes less than `min_delta` for metrics to ignore tiny fluctuates.
  baseline_value : float, default is 0.0
      The baseline metric value to be considered.
  max_value : float, default is 1.0
      Instantly early stop if reaching max value.
docstr: reset the early stopper
docstr_tok: ["reset","the","early","stopper"]
code: def reset(self):
      """reset the early stopper"""
      self.last_epoch = 0
      self.wait = 0
      self._should_stop = False
      self._message = ""
      if self.baseline_value is not None:
          self.best = self.baseline_value
      else:
          self.best = -np.Inf
  
file_path: gluon-cv/gluoncv/auto/estimators/utils.py
imports: import numpy
label_desc: Use image node_id 2 for calling the EarlyStopperOnPlateau obj's underlying member method code with example usage: obj.reset() without return types