
"""simple docstring"""






import warnings

from ...utils import logging
from .image_processing_segformer import SegformerImageProcessor


lowerCamelCase__ :       str						     =			logging.get_logger(__name__)
class 				lowercase__(				__lowercase   ):
	'''simple docstring'''

	def __init__(						self    :Tuple		, *lowerCamelCase_    :Union[str, Any]		, **lowerCamelCase_    :Optional[int]					)							->			int:







			'''simple docstring'''




			warnings.warn(
			    '''The class SegformerFeatureExtractor is deprecated and will be removed in version 5 of Transformers.'''
			    ''' Please use SegformerImageProcessor instead.'''		, _A		, )
			super().__init__(*_A		, **_A					)







"""simple docstring"""






def __A						(   a_ :							list		,		a_ :							int		,		a_ :							int = 0		,		a_ :							int = 0     )->							int:




		'''simple docstring'''






		SCREAMING_SNAKE_CASE       :     str				= right or len(a_     ) - 1
		if left > right:
				return -1
		elif list_data[left] == key:
				return left
		elif list_data[right] == key:
				return right
		else:
				return search(a_		,		a_		,		left + 1		,		right - 1     )


if __name__ == "__main__":
					import doctest

					doctest.testmod()





