code: def main():
      parser = argparse.ArgumentParser()
  
      parser.add_argument(
          "--input",
          action="store",
          help="the dir of a list of model benchmark result subdir ",
      )
  
      parser.add_argument(
          "--output",
          action="store",
          help="the file path of final report ",
      )
  
      parser.add_argument(
          "--hw",
          action="store",
          help="the type of host, eg. CPU, GPU, or m6i.4xlarge",
      )
  
      parser.add_argument(
          "--branch",
          action="store",
          help="the branch or version of TorchServe",
      )
      arguments = parser.parse_args()
      iterate_subdir(
          arguments.input,
          arguments.output,
          arguments.hw,
          arguments.branch,
      )
  
file_path: serve/benchmarks/utils/gen_md_report.py
imports: import argparse
  import datetime
  import glob
  from mdutils.mdutils import MdUtils
  import os
  import pandas
  from collections import defaultdict
label_desc: Use image node_id 2 for calling a global function with example usage: main() without return types