



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


_UpperCamelCase							       =		logging.get_logger(__name__)

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






class       lowerCamelCase_					(       SCREAMING_SNAKE_CASE__  ):
  """simple docstring"""




  a_							      ="""swiftformer"""




  def __init__(				self   :			List[Any]    ,			_a   :			Optional[int]=3    ,			_a   :			Optional[Any]=[3, 3, 6, 4]    ,			_a   :			Optional[int]=[48, 56, 112, 220]    ,			_a   :			List[str]=4    ,			_a   :			List[Any]=[True, True, True, True]    ,			_a   :			Any="gelu"    ,			_a   :			int=3    ,			_a   :			Tuple=2    ,			_a   :			List[str]=1    ,			_a   :			List[str]=0.0    ,			_a   :			Tuple=True    ,			_a   :			Optional[Any]=1e-5    ,			_a   :			Dict=1e-5    ,			**_a   :			List[str]    ,			)      ->      str:
    super().__init__(**_a     )
    __lowerCamelCase : Tuple					 =				num_channels
    __lowerCamelCase : List[Any]					 =				depths
    __lowerCamelCase : int					 =				embed_dims
    __lowerCamelCase : List[Any]					 =				mlp_ratio
    __lowerCamelCase : Tuple					 =				downsamples
    __lowerCamelCase : Union[str, Any]					 =				hidden_act
    __lowerCamelCase : Union[str, Any]					 =				down_patch_size
    __lowerCamelCase : Tuple					 =				down_stride
    __lowerCamelCase : Dict					 =				down_pad
    __lowerCamelCase : List[str]					 =				drop_path_rate
    __lowerCamelCase : Optional[Any]					 =				use_layer_scale
    __lowerCamelCase : Tuple					 =				layer_scale_init_value
    __lowerCamelCase : Tuple					 =				batch_norm_eps






class       lowerCamelCase_					(       SCREAMING_SNAKE_CASE__  ):
  """simple docstring"""




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




  @property
  def 		_lowercase  (				self   :			Any     )      ->      Mapping[str, Mapping[int, str]]:
    return OrderedDict(
        [
            ('pixel_values', {0: 'batch', 1: 'num_channels', 2: 'height', 3: 'width'}),
        ]     )




  @property
  def 		_lowercase  (				self   :			Tuple     )      ->      float:
    return 1e-4











'''simple docstring'''





import decimal

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


if __name__ == "__main__":
   import doctest

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






