






from ...configuration_utils import PretrainedConfig
from ...utils import logging


A__      :     List[Any]       =					logging.get_logger(__name__)
class  _UpperCAmelCase   (			A__      ):

				"""simple docstring"""




				lowercase__											=			"""timm_backbone"""




				def __init__(	self		:       str,    lowerCamelCase		:       Any=None,    lowerCamelCase		:       Dict=3,    lowerCamelCase		:       str=True,    lowerCamelCase		:       str=True,    lowerCamelCase		:       List[Any]=None,    **lowerCamelCase		:       Optional[Any],    ):

								'''simple docstring'''
								super().__init__(**lowerCamelCase    )
								lowercase__  					=     backbone
								lowercase__  					=     num_channels
								lowercase__  					=     features_only
								lowercase__  					=     use_pretrained_backbone
								lowercase__  					=     True
								lowercase__  					=     out_indices if out_indices is not None else (-1,)












def     a     (		lowerCamelCase_							):






				'''simple docstring'''

				if p < 2:
								raise ValueError('''p should not be less than 2!'''							)
				elif p == 2:
								return True

				lowercase__  					=     4
				lowercase__  					=     (1 << p) - 1
				for _ in range(p - 2							):
								lowercase__  					=     ((s * s) - 2) % m
				return s == 0


if __name__ == "__main__":
							print(lucas_lehmer_test(7))
							print(lucas_lehmer_test(11))




