





"""simple docstring"""



from collections import OrderedDict
from typing import Mapping

from packaging import version

from ...configuration_utils import PretrainedConfig
from ...onnx import OnnxConfig
from ...utils import logging


a_				=    logging.get_logger(__name__)

a_				=    {
    """MBZUAI/swiftformer-xs""": """https://huggingface.co/MBZUAI/swiftformer-xs/resolve/main/config.json""",
}






class 	__snake_case      (	__lowerCamelCase  ):





	"""simple docstring"""


	_lowerCamelCase				 =  'swiftformer'

	def __init__(					self      ,		__lowerCamelCase=3      ,		__lowerCamelCase=[3, 3, 6, 4]      ,		__lowerCamelCase=[48, 56, 112, 220]      ,		__lowerCamelCase=4      ,		__lowerCamelCase=[True, True, True, True]      ,		__lowerCamelCase="gelu"      ,		__lowerCamelCase=3      ,		__lowerCamelCase=2      ,		__lowerCamelCase=1      ,		__lowerCamelCase=0.0      ,		__lowerCamelCase=True      ,		__lowerCamelCase=1e-5      ,		__lowerCamelCase=1e-5      ,		**__lowerCamelCase      ,		):



					'''simple docstring'''




					super().__init__(**__lowerCamelCase						)
					__A					:		Optional[Any]						=  num_channels
					__A					:		Optional[Any]						=  depths
					__A					:		str						=  embed_dims
					__A					:		Optional[Any]						=  mlp_ratio
					__A					:		Any						=  downsamples
					__A					:		List[str]						=  hidden_act
					__A					:		str						=  down_patch_size
					__A					:		List[Any]						=  down_stride
					__A					:		Tuple						=  down_pad
					__A					:		Any						=  drop_path_rate
					__A					:		Optional[Any]						=  use_layer_scale
					__A					:		Optional[Any]						=  layer_scale_init_value
					__A					:		Union[str, Any]						=  batch_norm_eps






class 	__snake_case      (	__lowerCamelCase  ):





	"""simple docstring"""


	_lowerCamelCase				 =  version.parse("""1.11"""  )

	@property
	def       UpperCamelCase__(					self						):



					'''simple docstring'''




					return OrderedDict(
					    [
					        ('''pixel_values''', {0: '''batch''', 1: '''num_channels''', 2: '''height''', 3: '''width'''}),
					    ]						)







	@property
	def       UpperCamelCase__(					self						):



					'''simple docstring'''




					return 1e-4











"""simple docstring"""



import decimal







def 	__lowercase  (     )     ->int:



    '''simple docstring'''







    __A					:		List[str]						=  0
    __A					:		Tuple						=  decimal.Context(prec=105		)
    for i in range(2       ,100		):
        __A					:		int						=  decimal.Decimal(snake_case_		)
        __A					:		str						=  number.sqrt(snake_case_		)
        if len(str(snake_case_		)		) > 1:
            answer += int(str(snake_case_		)[0]		)
            __A					:		Optional[Any]						=  str(snake_case_		)[2:101]
            answer += sum(int(snake_case_		) for x in sqrt_number_str		)
    return answer


if __name__ == "__main__":
       import doctest

       doctest.testmod()
       print(f'''{solution() = }''')




