'''simple docstring'''





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


SCREAMING_SNAKE_CASE_:     int  =logging.get_logger(__name__)

SCREAMING_SNAKE_CASE_:     str  ={
    'caidas/swin2sr-classicalsr-x2-64': (
        'https://huggingface.co/caidas/swin2sr-classicalsr-x2-64/resolve/main/config.json'
    ),
}




class        __A      ( UpperCamelCase__	):
    a__       :						int          =  """swin2sr"""

    a__       :						Optional[int]          =  {
        """hidden_size""": """embed_dim""",
        """num_attention_heads""": """num_heads""",
        """num_hidden_layers""": """num_layers""",
    }



    def __init__(self    :    Dict   ,			__a    :    Optional[Any]=64   ,			__a    :    int=1   ,			__a    :    Any=3   ,			__a    :    Optional[int]=180   ,			__a    :    Union[str, Any]=[6, 6, 6, 6, 6, 6]   ,			__a    :    List[str]=[6, 6, 6, 6, 6, 6]   ,			__a    :    int=8   ,			__a    :    Optional[Any]=2.0   ,			__a    :    Dict=True   ,			__a    :    str=0.0   ,			__a    :    str=0.0   ,			__a    :    List[str]=0.1   ,			__a    :    Any="gelu"   ,			__a    :    Any=False   ,			__a    :    Any=0.02   ,			__a    :    Optional[int]=1E-5   ,			__a    :    Tuple=2   ,			__a    :    Optional[Any]=1.0   ,			__a    :    List[Any]="1conv"   ,			__a    :    int="pixelshuffle"   ,			**__a    :    str   ,			):
         super().__init__(**__a )

         UpperCAmelCase_           =   image_size
         UpperCAmelCase_           =   patch_size
         UpperCAmelCase_           =   num_channels
         UpperCAmelCase_           =   embed_dim
         UpperCAmelCase_           =   depths
         UpperCAmelCase_           =   len(__a )
         UpperCAmelCase_           =   num_heads
         UpperCAmelCase_           =   window_size
         UpperCAmelCase_           =   mlp_ratio
         UpperCAmelCase_           =   qkv_bias
         UpperCAmelCase_           =   hidden_dropout_prob
         UpperCAmelCase_           =   attention_probs_dropout_prob
         UpperCAmelCase_           =   drop_path_rate
         UpperCAmelCase_           =   hidden_act
         UpperCAmelCase_           =   use_absolute_embeddings
         UpperCAmelCase_           =   layer_norm_eps
         UpperCAmelCase_           =   initializer_range
         UpperCAmelCase_           =   upscale
         UpperCAmelCase_           =   img_range
         UpperCAmelCase_           =   resi_connection
         UpperCAmelCase_           =   upsampler





'''simple docstring'''





def 	lowerCAmelCase_				(					snake_case_       : int					,    snake_case_       : int			)    ->      int:


     '''simple docstring'''




     return x if y == 0 else greatest_common_divisor(snake_case_					,    x % y			)





def 	lowerCAmelCase_				(					snake_case_       : int					,    snake_case_       : int			)    ->      int:


     '''simple docstring'''




     return (x * y) // greatest_common_divisor(snake_case_					,    snake_case_			)





def 	lowerCAmelCase_				(					snake_case_       : int = 20			)    ->      int:


     '''simple docstring'''




     UpperCAmelCase_           =   1
     for i in range(1					,    n + 1			):
          UpperCAmelCase_           =   lcm(snake_case_					,    snake_case_			)
     return g


if __name__ == "__main__":
    print(f"{solution() = }")




