



"""simple docstring"""




import warnings

from ...utils import logging
from .image_processing_imagegpt import ImageGPTImageProcessor


_lowerCAmelCase							:   Any				=				logging.get_logger(__name__)






class       UpperCAmelCase_    (							_UpperCamelCase		):



      def __init__(	self	:      Dict	,      *A	:      Tuple	,      **A	:      List[str]		):
           warnings.warn(
               "The class ImageGPTFeatureExtractor is deprecated and will be removed in version 5 of Transformers."
               " Please use ImageGPTImageProcessor instead."	,      A	,      )
           super().__init__(*A	,      **A		)





"""simple docstring"""




def 		__snake_case		( SCREAMING_SNAKE_CASE__      :		str							)    ->  bool:





     '''simple docstring'''

     _UpperCAmelCase     :      str														=       0
     for ch in input_str:
          _UpperCAmelCase     :      Optional[int]														=       ord(SCREAMING_SNAKE_CASE__							)
          _UpperCAmelCase     :      int														=       pow(2		,    SCREAMING_SNAKE_CASE__							)

          # If we already turned on bit for current character's unicode
          if bitmap >> ch_unicode & 1 == 1:
               return False
          bitmap |= ch_bit_index_on
     return True


if __name__ == "__main__":
 import doctest

 doctest.testmod()
