code: def parse_args():
      parser = ArgumentParser(
          description=__doc__, formatter_class=RawTextHelpFormatter
      )
      parser.add_argument(
          "--model-type",
          type=str,
          choices=[
              MODEL_TYPE_LIBRISPEECH,
              MODEL_TYPE_TEDLIUM3,
              MODEL_TYPE_MUSTC,
          ],
          required=True,
      )
      parser.add_argument(
          "--dataset-path",
          required=True,
          type=pathlib.Path,
          help="Path to dataset. "
          "For LibriSpeech, all of 'train-clean-360', 'train-clean-100', and 'train-other-500' must exist.",
      )
      parser.add_argument(
          "--output-path",
          default=pathlib.Path("global_stats.json"),
          type=pathlib.Path,
          help="File to save feature statistics to. (Default: './global_stats.json')",
      )
      return parser.parse_args()
  
file_path: audio/examples/asr/emformer_rnnt/global_stats.py
imports: import json
  import logging
  import pathlib
  from argparse import ArgumentParser, RawTextHelpFormatter
  import torch
  import torchaudio
  from common import MODEL_TYPE_LIBRISPEECH, MODEL_TYPE_MUSTC, MODEL_TYPE_TEDLIUM3, piecewise_linear_log, spectrogram_transform
  from mustc.dataset import MUSTC
label_desc: Use image node_id 1 for calling a global function with example usage: parse_args() and returns: parser