


"""simple docstring"""






import warnings

from ...utils import logging
from .image_processing_detr import DetrImageProcessor


__snake_case												=							logging.get_logger(__name__)


class      __lowerCamelCase	(       lowerCAmelCase__					):

     '''simple docstring'''


     def __init__(   self     ,					*__UpperCAmelCase     ,					**__UpperCAmelCase				)							->				None:
          warnings.warn(
              '''The class DetrFeatureExtractor is deprecated and will be removed in version 5 of Transformers.'''
              ''' Please use DetrImageProcessor instead.'''     ,					_SCREAMING_SNAKE_CASE     ,					)
          super().__init__(*_SCREAMING_SNAKE_CASE     ,					**_SCREAMING_SNAKE_CASE				)


def        __UpperCamelCase     (      _A					:							str		)				->int:



							"""simple docstring"""
							lowerCamelCase_								=lowerCamelCase_								=0
							for letter in data:
														lowerCamelCase_								=(hash_ << 4) + ord(_A		)
														lowerCamelCase_								=hash_ & 0XF0000000
														if x != 0:
																					hash_ ^= x >> 24
														hash_ &= ~x
							return hash_


if __name__ == "__main__":
	import doctest

	doctest.testmod()
