class_docstr: Plugin for annealing logic in Flair.
class_docstr_tok: ["Plugin","for","annealing","logic","in","Flair","."]
code: def get_state(self) -> Dict[str, Any]:
      return {
          **super().get_state(),
          "base_path": str(self.base_path),
          "min_learning_rate": self.min_learning_rate,
          "anneal_factor": self.anneal_factor,
          "patience": self.patience,
          "initial_extra_patience": self.initial_extra_patience,
          "anneal_with_restarts": self.anneal_with_restarts,
      }
  
file_path: flair/flair/trainers/plugins/functional/anneal_on_plateau.py
imports: import logging
  import os
  from typing import Any, Dict
  from flair.trainers.plugins.base import TrainerPlugin, TrainingInterrupt
  from flair.trainers.plugins.metric_records import MetricRecord
  from flair.training_utils import AnnealOnPlateau
label_desc: Use image node_id 6 for calling the AnnealingPlugin obj's underlying member method code with example usage: obj.get_state() and returns: dict