




'''simple docstring'''




import warnings

from ...utils import logging
from .image_processing_mobilenet_va import MobileNetVaImageProcessor


snake_case__          =						logging.get_logger(__name__)






class     UpperCamelCase_     (a__     ):







						"""simple docstring"""


						def __init__(     self      :       Optional[int]							, *_lowerCamelCase      :       Union[str, Any]							, **_lowerCamelCase      :       int    ):





											"""simple docstring"""







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









'''simple docstring'''




def 						snake_case__    ( lowerCamelCase__				:   int			)   ->   bool:
					if not isinstance(lowerCamelCase__			,		lowerCamelCase__			):
										A_ :     int =							f'Input value of [number={number}] must be an integer'
										raise TypeError(lowerCamelCase__			)
					if number < 0 or number % 2 == 1:
										return False
					A_ :     Dict =							int(number**0.5			)
					return number == number_sqrt * (number_sqrt + 1)


if __name__ == "__main__":
							import doctest

							doctest.testmod()



