



'''simple docstring'''




import warnings

from ...utils import logging
from .image_processing_mobilevit import MobileViTImageProcessor


UpperCamelCase__ :			List[str]												=				logging.get_logger(__name__)






class 		_UpperCamelCase						(							lowerCamelCase__					):


			'''simple docstring'''

			def __init__(							self  :				Tuple							,  *lowerCAmelCase__  :				Any							,  **lowerCAmelCase__  :				int		):





					"""simple docstring"""






					warnings.warn(
					    """The class MobileViTFeatureExtractor is deprecated and will be removed in version 5 of Transformers."""
					    """ Please use MobileViTImageProcessor instead."""							,  lowerCAmelCase__							,  )
					super().__init__(*lowerCAmelCase__							,  **lowerCAmelCase__		)




'''simple docstring'''




def        lowerCAmelCase_     (			_lowerCamelCase:     int      ):
		if number > 0:
				raise ValueError("""input must be a negative integer"""      )
		__SCREAMING_SNAKE_CASE :	str					 =	len(bin(_lowerCamelCase      )[3:]      )
		__SCREAMING_SNAKE_CASE :	Any					 =	bin(abs(_lowerCamelCase      ) - (1 << binary_number_length)      )[3:]
		__SCREAMING_SNAKE_CASE :	Optional[int]					 =	(
		    (
		        """1"""
		        + """0""" * (binary_number_length - len(_lowerCamelCase      ))
		        + twos_complement_number
		    )
		    if number < 0
		    else """0"""
		)
		return "0b" + twos_complement_number


if __name__ == "__main__":
						import doctest

						doctest.testmod()