'''simple docstring'''




import warnings

from ...utils import logging
from .image_processing_vit import ViTImageProcessor


_UpperCamelCase				:		Dict       			=		logging.get_logger(__name__)

class   _lowercase(     _lowerCamelCase				):



   """simple docstring"""





   def __init__(							self:    str			,*a:    Optional[int]			,**a:    List[str]	):
    warnings.warn(
        'The class ViTFeatureExtractor is deprecated and will be removed in version 5 of Transformers. Please'
        ' use ViTImageProcessor instead.'			,a			,)
    super().__init__(*a			,**a	)




'''simple docstring'''




def 						__snake_case (       lowerCAmelCase       :     str			):
 __UpperCAmelCase         =					5381
 for x in s:
  __UpperCAmelCase         =					((hash_value << 5) + hash_value) + ord(lowerCAmelCase			)
 return hash_value & 0Xffff_ffff



