code: def argsparser():
      parser = argparse.ArgumentParser(description=__doc__)
      parser.add_argument(
          "--config_path",
          type=str,
          default=None,
          help="path of compression strategy config.",
          required=True,
      )
      parser.add_argument(
          "--save_dir",
          type=str,
          default="output",
          help="directory to save compressed model.",
      )
      parser.add_argument(
          "--devices",
          type=str,
          default="gpu",
          help="which device used to compress.",
      )
  
      return parser
  
file_path: PaddleDetection/deploy/auto_compression/run.py
imports: import os
  import sys
  import numpy
  import argparse
  import paddle
  from ppdet.core.workspace import load_config, merge_config
  from ppdet.core.workspace import create
  from ppdet.metrics import COCOMetric, VOCMetric, KeyPointTopDownCOCOEval
  from paddleslim.auto_compression.config_helpers import load_config
  from paddleslim.auto_compression import AutoCompression
  from post_process import PPYOLOEPostProcess
  from paddleslim.common.dataloader import get_feed_vars
label_desc: Use image node_id 1 for calling a global function with example usage: argsparser() and returns: parser