src/transformers/models/conditional_detr/image_processing_conditional_detr.py/ConditionalDetrImageProcessor/rescale
class ConditionalDetrImageProcessor:    def rescale(
        self, image: np.ndarray, rescale_factor: Union[float, int], data_format: Optional[ChannelDimension] = None
    ) -> np.ndarray:
        """
        Rescale the image by the given factor.
        """
        return rescale(image, rescale_factor, data_format=data_format)