code: def get_parser():
      parser = argparse.ArgumentParser()
      parser.add_argument(
          "--num-batches",
          type=int,
          default=50,
          help="",
      )
      parser.add_argument(
          "--model-name",
          type=str,
          default="google/vit-base-patch16-224",
          help="",
      )
      parser.add_argument(
          "--use-cuda",
          action="store_true",
      )
      parser.add_argument(
          "--use-half",
          action="store_true",
      )
      return parser
  
file_path: optimum/tests/benchmark/benchmark_bettertransformer_vit.py
imports: import argparse
  import requests
  import torch
  from PIL import Image
  from transformers import AutoFeatureExtractor, AutoModel
  from optimum.bettertransformer import BetterTransformer
label_desc: Use image node_id 1 for calling a global function with example usage: get_parser() and returns: parser