code: def __init__(self, args):
      self.args = args
  
      self.paddle_predictor = create_paddle_predictor(args)
      input_names = self.paddle_predictor.get_input_names()
      self.input_tensor = self.paddle_predictor.get_input_handle(
          input_names[0]
      )
  
      output_names = self.paddle_predictor.get_output_names()
      self.output_tensor = self.paddle_predictor.get_output_handle(
          output_names[0]
      )
  
file_path: insightface/recognition/arcface_paddle/tools/benchmark_speed.py
imports: import os
  import numpy
  import time
  import argparse
  from paddle.inference import Config
  from paddle.inference import create_predictor
label_desc: Use image node_id 1 to create a new Predictor object from inherited base classes: object with example: obj = Predictor(args)