


import warnings

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


UpperCAmelCase__     			=							logging.get_logger(__name__)







class    lowerCamelCase__     ( lowerCAmelCase):





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





def        UpperCAmelCase_      (							__snake_case		)  ->    bool:







 """simple docstring"""


 if not isinstance(__snake_case  ,		__snake_case		):
  _lowercase							   =F"Input value of [number={number}] must be an integer"
  raise TypeError(__snake_case		)
 if number < 0 or number % 2 == 1:
  return False
 _lowercase							   =int(number**0.5		)
 return number == number_sqrt * (number_sqrt + 1)


if __name__ == "__main__":
  import doctest

  doctest.testmod()

