code: def add_model_args(parser):
      group = parser.add_argument_group("Model")
      group.add_argument(
          "--model-arch-name",
          type=str,
          default="ResNet50",
          help="The model architecture name. It should be one of {ResNet50}.",
      )
      group.add_argument(
          "--num-of-class",
          type=int,
          default=1000,
          help="The number classes of images.",
      )
      group.add_argument(
          "--bn-weight-decay",
          action="store_true",
          help="Apply weight decay to BatchNorm shift and scale.",
      )
      return parser
  
file_path: DALI/docs/examples/use_cases/paddle/resnet50/utils/config.py
imports: import os
  import copy
  import argparse
  import logging
  import distutils.util
  import dllogger
  from utils.mode import RunScope
  from utils.utility import get_num_trainers
  from utils.save_load import _PDOPT_SUFFIX, _PDPARAMS_SUFFIX
label_desc: Use image node_id 8 for calling a global function with example usage: add_model_args(parser) and returns: parser