class_docstr: Plugin for LinearSchedulerWithWarmup.
class_docstr_tok: ["Plugin","for","LinearSchedulerWithWarmup","."]
code: def __init__(self, warmup_fraction: float) -> None:
      super().__init__()
  
      self.warmup_fraction = warmup_fraction
  
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 1 to create a new LinearSchedulerPlugin object from inherited base classes: TrainerPlugin with example: obj = LinearSchedulerPlugin(warmup_fraction)