code: def parse_args(argv: List[str]) -> argparse.Namespace:
      parser = argparse.ArgumentParser(
          description="TorchRec ebc benchmarks"
      )
      parser.add_argument(
          "--cpu_only",
          action="store_true",
          default=False,
          help="specify whether to use cpu",
      )
      parser.add_argument(
          "--mode",
          type=str,
          default="ebc_comparison_dlrm",
          help="specify 'ebc_comparison_dlrm', 'ebc_comparison_scaling' or 'fused_ebc_uvm'",
      )
      return parser.parse_args(argv)
  
file_path: torchrec/benchmarks/ebc_benchmarks.py
imports: import argparse
  import sys
  from typing import List, Tuple
  import torch
  from fbgemm_gpu.split_table_batched_embeddings_ops_training import EmbeddingLocation
  from torchrec.github.benchmarks import ebc_benchmarks_utils
  from torchrec.modules.embedding_configs import EmbeddingBagConfig
  from torchrec.modules.embedding_modules import EmbeddingBagCollection
  from torchrec.modules.fused_embedding_modules import FusedEmbeddingBagCollection
label_desc: Use image node_id 5 for calling a global function with example usage: parse_args(argv) and returns: parser