





'''simple docstring'''






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


A   : Optional[int]             =			logging.get_logger(__name__)







class 			lowerCamelCase					(						__UpperCAmelCase  ):
					_SCREAMING_SNAKE_CASE							   =    "timm_backbone"


					def __init__(					self	:  List[Any]       ,     __snake_case	:  Any=None       ,     __snake_case	:  List[Any]=3       ,     __snake_case	:  Any=True       ,     __snake_case	:  Optional[int]=True       ,     __snake_case	:  int=None       ,     **__snake_case	:  Union[str, Any]       ,     ):





											'''simple docstring'''





											super().__init__(**__snake_case       )
											_snake_case:   Tuple  					=		backbone
											_snake_case:   str  					=		num_channels
											_snake_case:   Union[str, Any]  					=		features_only
											_snake_case:   Tuple  					=		use_pretrained_backbone
											_snake_case:   List[str]  					=		True
											_snake_case:   Dict  					=		out_indices if out_indices is not None else (-1,)












'''simple docstring'''






def       lowercase_      (		lowercase__ = 1				,  lowercase__ = 1000						)   ->int:
						_snake_case:   int  					=		1
						_snake_case:   Union[str, Any]  					=		0

						for divide_by_number in range(lowercase__				,  digit + 1						):
												_snake_case:   list[int]  					=		[]
												_snake_case:   int  					=		numerator
												for _ in range(1				,  digit + 1						):
																		if now_divide in has_been_divided:
																								if longest_list_length < len(lowercase__						):
																														_snake_case:   Union[str, Any]  					=		len(lowercase__						)
																														_snake_case:   Tuple  					=		divide_by_number
																		else:
																								has_been_divided.append(lowercase__						)
																								_snake_case:   Union[str, Any]  					=		now_divide * 10 % divide_by_number

						return the_digit


# Tests
if __name__ == "__main__":
		import doctest

		doctest.testmod()





