





'''simple docstring'''




import warnings

from .generation import FlaxGenerationMixin






class     UpperCamelCase_     (a__     ):







						"""simple docstring"""


						warnings.warn(
						    'Importing `FlaxGenerationMixin` from `src/transformers/generation_flax_utils.py` is deprecated and will '
						    'be removed in Transformers v5. Import as `from transformers import FlaxGenerationMixin` instead.',      a__,      )









'''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()



