original_docstring: 
      Performs necessary steps to get image into appropriate format for model prediction
      :param img_array:
      :param reshape_size:
      :return:
      
docstring: Performs necessary steps to get image into appropriate format for model prediction
docstring_tokens: Performs necessary steps to get image into appropriate format for model prediction
code: def prepare_image_for_prediction(
          img_array: np.ndarray,
          reshape_size: tuple
  ) -> np.ndarray:
      """
      Performs necessary steps to get image into appropriate format for model prediction
      :param img_array:
      :param reshape_size:
      :return:
      """
      img = resize_image(img_array, reshape_size)
      img = make_image_into_batch(img)
      img_copy = img.copy()
      img = preprocess_input(img_copy)
  
      return img
code_tokens: def prepare_image_for_prediction ( img_array : np . ndarray , reshape_size : tuple ) -> np . ndarray : img = resize_image ( img_array , reshape_size ) img = make_image_into_batch ( img ) img_copy = img . copy ( ) img = preprocess_input ( img_copy ) return img
short_docstring: Performs necessary steps to get image into appropriate format for model prediction
short_docstring_tokens: Performs necessary steps to get image into appropriate format for model prediction
comment: """
      Performs necessary steps to get image into appropriate format for model prediction
      :param img_array:
      :param reshape_size:
      :return:
      """