code: def _reset_lr_to_swa(self):
      if self.swa_lr is None:
          return
      for param_group in self.param_groups:
          if param_group["step_counter"] >= self.swa_start:
              param_group["lr"] = self.swa_lr
  
imports: import warnings
  from collections import defaultdict
  from typing import Optional, Union
  import torch
  from pytext.config.component import create_optimizer
  from pytext.optimizer.lamb import Lamb
  from pytext.optimizer.madgrad import MADGRAD
  from pytext.optimizer.optimizers import Adagrad, Adam, AdamW, Optimizer, SGD
  from pytext.optimizer.radam import RAdam
  from torch.optim import Optimizer
label_desc: Use image node_id 3 for calling the StochasticWeightAveraging obj's underlying member method code with example usage: obj._reset_lr_to_swa() without return types