code: def create_mar():
      if args.client_batching:
          cmd = [
              "torch-model-archiver",
              "--model-name resnet-18",
              "--version 1.0",
              f"--serialized-file {MODEL_PTH_FILE}",
              "--model-file examples/image_classifier/near_real_time_video/model.py",
              "--extra-files examples/image_classifier/index_to_name.json",
              "--handler examples/image_classifier/near_real_time_video/near_real_time_video_handler.py",
              "--force",
          ]
      else:
          cmd = [
              "torch-model-archiver",
              "--model-name resnet-18",
              "--version 1.0",
              f"--serialized-file {MODEL_PTH_FILE}",
              "--model-file examples/image_classifier/near_real_time_video/model.py",
              "--extra-files examples/image_classifier/index_to_name.json",
              "--handler image_classifier",
              "--force",
          ]
  
      print(f"Archiving resnet-18 model into {MAR_FILE}")
      os.system(" ".join(cmd))
  
imports: import argparse
  import os
  import shutil
label_desc: Use image node_id 2 for calling a global function with example usage: create_mar() without return types