






'''simple docstring'''







def     A__      (					__lowerCAmelCase		:      int    ):
						if not isinstance(__UpperCamelCase ,     __UpperCamelCase    ):
												lowerCamelCase__								=	F'''Input value of [number={number}] must be an integer'''
												raise TypeError(__UpperCamelCase    )
						if number < 0:
												return False
						lowerCamelCase__								=	number * number
						while number > 0:
												if number % 10 != number_square % 10:
																		return False
												number //= 10
												number_square //= 10
						return True


if __name__ == "__main__":
							import doctest

							doctest.testmod()





'''simple docstring'''
from .testing import (
    are_the_same_tensors,
    execute_subprocess_async,
    require_bnb,
    require_cpu,
    require_cuda,
    require_huggingface_suite,
    require_mps,
    require_multi_gpu,
    require_multi_xpu,
    require_safetensors,
    require_single_gpu,
    require_single_xpu,
    require_torch_min_version,
    require_tpu,
    require_xpu,
    skip,
    slow,
)
from .training import RegressionDataset, RegressionModel, RegressionModelaXPU


from .scripts import test_script, test_sync, test_ops  # isort: skip





