




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


_lowerCamelCase    				=		logging.get_logger(__name__)

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



class     a  (     _A    ):

     '''simple docstring'''





     lowerCAmelCase       : Any     	=						'swiftformer'
     def __init__(			self     :    Optional[int]      ,					__snake_case     :    List[str]=3      ,					__snake_case     :    Dict=[3, 3, 6, 4]      ,					__snake_case     :    int=[48, 56, 1_12, 2_20]      ,					__snake_case     :    Any=4      ,					__snake_case     :    List[str]=[True, True, True, True]      ,					__snake_case     :    int="gelu"      ,					__snake_case     :    List[str]=3      ,					__snake_case     :    Any=2      ,					__snake_case     :    Dict=1      ,					__snake_case     :    Optional[int]=0.0      ,					__snake_case     :    Tuple=True      ,					__snake_case     :    Optional[Any]=1E-5      ,					__snake_case     :    Optional[Any]=1E-5      ,					**__snake_case     :    Dict      ,					):
         super().__init__(**__snake_case       )
         UpperCAmelCase_											=  num_channels
         UpperCAmelCase_											=  depths
         UpperCAmelCase_											=  embed_dims
         UpperCAmelCase_											=  mlp_ratio
         UpperCAmelCase_											=  downsamples
         UpperCAmelCase_											=  hidden_act
         UpperCAmelCase_											=  down_patch_size
         UpperCAmelCase_											=  down_stride
         UpperCAmelCase_											=  down_pad
         UpperCAmelCase_											=  drop_path_rate
         UpperCAmelCase_											=  use_layer_scale
         UpperCAmelCase_											=  layer_scale_init_value
         UpperCAmelCase_											=  batch_norm_eps



class     a  (     _A    ):

     '''simple docstring'''





     lowerCAmelCase       : Optional[Any]     	=						version.parse('1.11'    )
     @property
     def 						lowerCamelCase_     (			self     :    List[str]       ):
         return OrderedDict(
             [
                 ('''pixel_values''', {0: '''batch''', 1: '''num_channels''', 2: '''height''', 3: '''width'''}),
             ]       )




     @property
     def 						lowerCamelCase_     (			self     :    Union[str, Any]       ):
         return 1E-4











def       SCREAMING_SNAKE_CASE			( )						->							List[Any]:
    UpperCAmelCase_											=  1

    while True:
        if (
            sorted(str(__UpperCamelCase   )   )
            == sorted(str(2 * i   )   )
            == sorted(str(3 * i   )   )
            == sorted(str(4 * i   )   )
            == sorted(str(5 * i   )   )
            == sorted(str(6 * i   )   )
        ):
            return i

        i += 1


if __name__ == "__main__":
 print(solution())





