code: def build_optimizer_schedulers(config):
      # create a deepcopy since we will be modifying the param scheduler config
      param_scheduler_config = copy.deepcopy(
          config.get("param_schedulers", {})
      )
  
      # build the param schedulers
      for cfg in param_scheduler_config.values():
          cfg["num_epochs"] = config["num_epochs"]
  
      param_schedulers = {
          param: build_param_scheduler(cfg)
          for param, cfg in param_scheduler_config.items()
      }
      return param_schedulers
  
file_path: ClassyVision/classy_vision/optim/__init__.py
imports: import copy
  import traceback
  from pathlib import Path
  from classy_vision.generic.registry_utils import import_all_modules
  from .classy_optimizer import ClassyOptimizer
  from .param_scheduler import build_param_scheduler
  from .adam import Adam
  from .adamw import AdamW
  from .rmsprop import RMSProp
  from .rmsprop_tf import RMSPropTF
  from .sgd import SGD
  from .zero import ZeRO
label_desc: Use image node_id 2 for calling a global function with example usage: build_optimizer_schedulers(config) and returns: param_schedulers