code: def _print_args(args):
      """Print arguments."""
      if args.rank == 0:
          print(
              "------------------------ arguments ------------------------",
              flush=True,
          )
          str_list = []
          for arg in vars(args):
              dots = "." * (48 - len(arg))
              str_list.append(
                  "  {} {} {}".format(arg, dots, getattr(args, arg))
              )
          for arg in sorted(str_list, key=lambda x: x.lower()):
              print(arg, flush=True)
          print(
              "-------------------- end of arguments ---------------------",
              flush=True,
          )
  
imports: import argparse
  import os
  import torch
label_desc: Use image node_id 2 for calling a global function with example usage: _print_args(args) without return types