code: def hydra_main(cfg: FairseqConfig) -> float:
      return _hydra_main(cfg)
  
file_path: fairseq/fairseq_cli/hydra_validate.py
imports: import logging
  import os
  import sys
  from itertools import chain
  import torch
  from hydra.core.hydra_config import HydraConfig
  from omegaconf import OmegaConf, open_dict
  import hydra
  from fairseq import checkpoint_utils, distributed_utils, utils
  from fairseq.dataclass.configs import FairseqConfig
  from fairseq.dataclass.initialize import add_defaults, hydra_init
  from fairseq.dataclass.utils import omegaconf_no_object_check
  from fairseq.distributed import utils
  from fairseq.logging import metrics, progress_bar
  from fairseq.utils import reset_logging
label_desc: Use image node_id 1 for calling a global function with example usage: hydra_main(cfg) and returns: _hydra_main