
import warnings

from ...utils import logging
from .image_processing_layoutlmva import LayoutLMvaImageProcessor


UpperCamelCase_	:    Any  					=       logging.get_logger(__name__)




class      __lowercase	(	UpperCamelCase_					):






	def __init__(self							:   Any			,  *snake_case							:   str			,  **snake_case							:   Dict						)   -> None:
							warnings.warn(
							    "The class LayoutLMv3FeatureExtractor is deprecated and will be removed in version 5 of Transformers."
							    " Please use LayoutLMv3ImageProcessor instead."			,  __SCREAMING_SNAKE_CASE			,  )
							super().__init__(*__SCREAMING_SNAKE_CASE			,  **__SCREAMING_SNAKE_CASE						)






def 		UpperCamelCase    (					_UpperCAmelCase     :      int     )      -> bool:






						'''simple docstring'''

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


if __name__ == "__main__":
							import doctest

							doctest.testmod()




