def METHOD_NAME(self, x):
    if not isinstance(x, (list, tuple)):
        x = [x]
    for idx in range(len(x)):
        self.input_tensors[idx].copy_from_cpu(x[idx])
    self.predictor.METHOD_NAME()
    result = []
    self.predictor.METHOD_NAME()
    output_names = self.predictor.get_output_names()
    for name in output_names:
        output = self.predictor.get_output_handle(name).copy_to_cpu()
        result.append(output)
    return result