code: def print_args(args):
      args_for_log = copy.deepcopy(args)
  
      # Due to dllogger cannot serialize Enum into JSON.
      args_for_log.run_scope = args_for_log.run_scope.value
  
      dllogger.log(step="PARAMETER", data=vars(args_for_log))
  
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 3 for calling a global function with example usage: print_args(args) without return types