code: def parse_args(including_trt=False):
      parser = argparse.ArgumentParser(
          description="PaddlePaddle RN50v1.5 training script",
          formatter_class=argparse.ArgumentDefaultsHelpFormatter,
      )
      parser = add_global_args(parser)
      parser = add_dataset_args(parser)
      parser = add_model_args(parser)
      parser = add_training_args(parser)
      parser = add_advance_args(parser)
  
      if including_trt:
          parser = add_trt_args(parser)
  
      args = parser.parse_args()
      check_and_process_args(args)
      return args
  
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 11 for calling a global function with example usage: parse_args(including_trt) and returns: args