code: def get_epoch_lr(cur_epoch: float, cfg: LRSchedulerConf) -> float:
      """
      Retrieves the lr for the given epoch (as specified by the lr policy).
  
      Args:
          cfg (config): Hydra / omega conf object associated with
              Learningrate scheduler. The schema can be found in
              `LRSchedulerConf` and the example configs can be found in
              `pytorchvideo_trainer/conf/module/lr_scheduler`.
          cur_epoch (float): the number of epoch of the current training stage.
      """
      return get_lr_at_epoch(cfg, cur_epoch)
  
file_path: pytorchvideo/pytorchvideo_trainer/pytorchvideo_trainer/module/lr_policy.py
imports: import math
  from dataclasses import dataclass
  from typing import Callable, List
  import torch
  from hydra.core.config_store import ConfigStore
  from omegaconf import MISSING
label_desc: Use image node_id 6 for calling a global function with example usage: get_epoch_lr(cur_epoch, cfg) and returns: get_lr_at_epoch