class_docstr: Plugin for LinearSchedulerWithWarmup.
class_docstr_tok: ["Plugin","for","LinearSchedulerWithWarmup","."]
docstr: Load state for anneal_with_restarts, batch_growth_annealing, logic for early stopping.
docstr_tok: ["Load","state","for","anneal_with_restarts",",","batch_growth_annealing",",","logic","for","early","stopping","."]
code: def before_training_epoch(self, **kwargs):
      """Load state for anneal_with_restarts, batch_growth_annealing, logic for early stopping."""
      self.store_learning_rate()
      self.previous_learning_rate = self.current_learning_rate
  
file_path: flair/flair/trainers/plugins/functional/linear_scheduler.py
imports: import logging
  from typing import Any, Dict
  from flair.optim import LinearSchedulerWithWarmup
  from flair.trainers.plugins.base import TrainerPlugin
label_desc: Use image node_id 4 for calling the LinearSchedulerPlugin obj's underlying member method code with example usage: obj.before_training_epoch() without return types