





import warnings

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


_UpperCamelCase       :				int           =			logging.get_logger(__name__)







class 		_lowerCAmelCase(		__A):

  """simple docstring"""







  def __init__(   self    ,							*UpperCAmelCase    ,							**UpperCAmelCase      )->   str:
     warnings.warn(
         '''The class ViTFeatureExtractor is deprecated and will be removed in version 5 of Transformers. Please'''
         ''' use ViTImageProcessor instead.'''    ,							_lowercase    ,							)
     super().__init__(*_lowercase    ,							**_lowercase      )








def 				_lowerCAmelCase			(	_a :       str      )						->      int:
     lowerCAmelCase_       :							Dict			 =		0
     for plain_chr in plain_text:
          lowerCAmelCase_       :							List[Any]			 =		(
              ord(_a      ) + (hash_value << 6) + (hash_value << 16) - hash_value
          )
     return hash_value
