def METHOD_NAME(self, data):
    for input_field, input_handle in zip(data, self.input_handles):
        input_handle.copy_from_cpu(input_field.numpy() if isinstance(input_field, paddle.Tensor) else input_field)
    self.predictor.run()
    output = [output_handle.copy_to_cpu() for output_handle in self.output_handles]
    return output