code: def predict(self, batch_input):
      self.input_tensor.copy_from_cpu(batch_input)
      self.paddle_predictor.run()
      batch_output = self.output_tensor.copy_to_cpu()
      return batch_output
  
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 2 for calling the Predictor obj's underlying member method code with example usage: obj.predict(batch_input) and returns: batch_output