code: def __init__(self):
      self.lrs = []
  
file_path: fastNLP/tests/core/callbacks/torch_callbacks/test_torch_warmup_callback.py
imports: import pytest
  import numpy
  from fastNLP.core.callbacks import TorchWarmupCallback, Callback
  from fastNLP import Trainer
  from tests.helpers.callbacks.prepare_trainer_args_for_torch_test import get_trainer_args
label_desc: Use image node_id 1 to create a new RecordLrCallback object from inherited base classes: Callback with example: obj = RecordLrCallback()