import warnings

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


a_    					=       logging.get_logger(__name__)





class 		_lowercase						(					snake_case_       ):

 def __init__( self	:							List[Any]   ,      *snake_case	:							int   ,      **snake_case	:							Optional[Any]			)   ->						None:

  """simple docstring"""





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




def    __lowercase     (						lowerCamelCase					:     str	):
 UpperCamelCase_					:						Dict =					0
 for ch in input_str:
  UpperCamelCase_					:						Tuple =					ord(lowerCamelCase	)
  UpperCamelCase_					:						str =					pow(2  ,  lowerCamelCase	)

  # 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()



