docstr: This function should be implemented in a way that prediction should be
  performed using self.model and the prediction result should be set to self._original_predictions.
  Args:
      image: np.ndarray
          A numpy array that contains the image to be predicted.
docstr_tok: ["This","function","should","be","implemented","in","a","way","that","prediction","should","be","performed","using","self.model","and","the","prediction","result","should","be","set","to","self._original_predictions",".","Args",":","image",":","np.ndarray","A","numpy","array","that","contains","the","image","to","be","predicted","."]
code: def perform_inference(self, image: np.ndarray):
      """
      This function should be implemented in a way that prediction should be
      performed using self.model and the prediction result should be set to self._original_predictions.
      Args:
          image: np.ndarray
              A numpy array that contains the image to be predicted.
      """
      raise NotImplementedError()
  
file_path: sahi/sahi/models/base.py
imports: from typing import Any, Dict, List, Optional, Tuple, Union
  import numpy
  from sahi.utils.import_utils import is_available
  from sahi.utils.torch import select_device
label_desc: Use image node_id 7 for calling the DetectionModel obj's underlying member method code with example usage: obj.perform_inference(image) without return types