





import warnings

from ...utils import logging
from .image_processing_perceiver import PerceiverImageProcessor


__lowercase       :Any       =  logging.get_logger(__name__)



class    _a     (				lowercase__							):






							"""simple docstring"""

							def __init__(      self				:     int							,	*a				:     List[Any]							,	**a				:     Optional[int]    )	->None:
													warnings.warn(
													    "The class PerceiverFeatureExtractor is deprecated and will be removed in version 5 of Transformers."
													    " Please use PerceiverImageProcessor instead."							,	a							,	)
													super().__init__(*a							,	**a    )






from __future__ import annotations







def       UpperCAmelCase							(     _lowerCamelCase      :  list			,   _lowerCamelCase      :  int | None = None			,   _lowerCamelCase      :  int | None = None     ):





						'''simple docstring'''


						if start is None:
												SCREAMING_SNAKE_CASE__     :				Union[str, Any]   =					0

						if end is None:
												SCREAMING_SNAKE_CASE__     :				Any   =					len(_lowerCamelCase     ) - 1

						if start >= end:
												return

						SCREAMING_SNAKE_CASE__     :				List[str]   =					(start + end) // 2

						slowsort(_lowerCamelCase			,   _lowerCamelCase			,   _lowerCamelCase     )
						slowsort(_lowerCamelCase			,   mid + 1			,   _lowerCamelCase     )

						if sequence[end] < sequence[mid]:
												SCREAMING_SNAKE_CASE__,							SCREAMING_SNAKE_CASE__     :				Optional[int]   =					sequence[mid], sequence[end]

						slowsort(_lowerCamelCase			,   _lowerCamelCase			,   end - 1     )


if __name__ == "__main__":
				from doctest import testmod

				testmod()