



'''simple docstring'''

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


__lowerCAmelCase									=   logging.get_logger(__name__)

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

class 	__magic_name__						(    _UpperCamelCase   ):
							lowerCAmelCase       :    List[str]   				=					'swin2sr'

							lowerCAmelCase       :    str   				=					{
							    'hidden_size': 'embed_dim',
							    'num_attention_heads': 'num_heads',
							    'num_hidden_layers': 'num_layers',
							}







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

									_a     :      List[str]        =							image_size
									_a     :      Dict        =							patch_size
									_a     :      Optional[int]        =							num_channels
									_a     :      Optional[int]        =							embed_dim
									_a     :      Union[str, Any]        =							depths
									_a     :      Optional[int]        =							len(_UpperCAmelCase		)
									_a     :      Optional[Any]        =							num_heads
									_a     :      str        =							window_size
									_a     :      Optional[Any]        =							mlp_ratio
									_a     :      Optional[int]        =							qkv_bias
									_a     :      Tuple        =							hidden_dropout_prob
									_a     :      List[Any]        =							attention_probs_dropout_prob
									_a     :      Any        =							drop_path_rate
									_a     :      str        =							hidden_act
									_a     :      Tuple        =							use_absolute_embeddings
									_a     :      Dict        =							layer_norm_eps
									_a     :      Any        =							initializer_range
									_a     :      Optional[Any]        =							upscale
									_a     :      int        =							img_range
									_a     :      Union[str, Any]        =							resi_connection
									_a     :      int        =							upsampler







'''simple docstring'''



from itertools import count







def    a__       (  a__ = 50						):




     """simple docstring"""


     __SCREAMING_SNAKE_CASE     =      [1] * min_block_length

     for n in count(a__						):
          fill_count_functions.append(1						)

          for block_length in range(a__      ,    n + 1						):
               for block_start in range(n - block_length						):
                    fill_count_functions[n] += fill_count_functions[
                        n - block_start - block_length - 1
                    ]

               fill_count_functions[n] += 1

          if fill_count_functions[n] > 1_00_00_00:
               break

     return n


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






