


"""simple docstring"""





from ..utils import DummyObject, requires_backends



class 		snake_case_(							metaclass=a__      ):
     __UpperCamelCase	=       ['''torch''', '''transformers''', '''invisible_watermark''']






     def __init__(						self	:       List[Any]       ,					*UpperCamelCase_	:       Optional[int]       ,					**UpperCamelCase_	:       int					):
           requires_backends(self       ,					['''torch''', '''transformers''', '''invisible_watermark''']					)






     @classmethod
     def   lowerCamelCase__  (						cls	:       List[Any]       ,					*UpperCamelCase_	:       Optional[int]       ,					**UpperCamelCase_	:       str					):
           requires_backends(cls       ,					['''torch''', '''transformers''', '''invisible_watermark''']					)






     @classmethod
     def   lowerCamelCase__  (						cls	:       str       ,					*UpperCamelCase_	:       List[Any]       ,					**UpperCamelCase_	:       Any					):
           requires_backends(cls       ,					['''torch''', '''transformers''', '''invisible_watermark''']					)



class 		snake_case_(							metaclass=a__      ):
     __UpperCamelCase	=       ['''torch''', '''transformers''', '''invisible_watermark''']






     def __init__(						self	:       str       ,					*UpperCamelCase_	:       Optional[int]       ,					**UpperCamelCase_	:       str					):
           requires_backends(self       ,					['''torch''', '''transformers''', '''invisible_watermark''']					)






     @classmethod
     def   lowerCamelCase__  (						cls	:       Dict       ,					*UpperCamelCase_	:       Union[str, Any]       ,					**UpperCamelCase_	:       Optional[int]					):
           requires_backends(cls       ,					['''torch''', '''transformers''', '''invisible_watermark''']					)






     @classmethod
     def   lowerCamelCase__  (						cls	:       str       ,					*UpperCamelCase_	:       List[str]       ,					**UpperCamelCase_	:       Any					):
           requires_backends(cls       ,					['''torch''', '''transformers''', '''invisible_watermark''']					)






"""simple docstring"""





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


if __name__ == "__main__":
 import doctest

 doctest.testmod()


