class_docstr: Mixin that contain utilities for preparing image features.
class_docstr_tok: ["Mixin","that","contain","utilities","for","preparing","image","features","."]
docstr: Rescale a numpy image by scale amount
docstr_tok: ["Rescale","a","numpy","image","by","scale","amount"]
code: def rescale(
      self, image: np.ndarray, scale: Union[float, int]
  ) -> np.ndarray:
      """
      Rescale a numpy image by scale amount
      """
      self._ensure_format_supported(image)
      return image * scale
  
imports: import os
  from typing import TYPE_CHECKING, List, Tuple, Union
  import numpy
  from packaging import version
  import requests
  from .utils import ExplicitEnum, is_jax_tensor, is_tf_tensor, is_torch_available, is_torch_tensor, is_vision_available, to_numpy
  from .utils.constants import IMAGENET_DEFAULT_MEAN, IMAGENET_DEFAULT_STD, IMAGENET_STANDARD_MEAN, IMAGENET_STANDARD_STD
label_desc: Use image node_id 4 for calling the ImageFeatureExtractionMixin obj's underlying member method code with example usage: obj.rescale(image, scale) and returns: unknown