






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


SCREAMING_SNAKE_CASE__		:							List[str] 				=				logging.get_logger(__name__)

SCREAMING_SNAKE_CASE__		:							Any 				=				{
    """Visual-Attention-Network/van-base""": (
        """https://huggingface.co/Visual-Attention-Network/van-base/blob/main/config.json"""
    ),
}







class 				UpperCAmelCase_  (		__lowerCamelCase		):
     __lowerCamelCase      				=  'van'




     def __init__(				self	,						_lowerCAmelCase=224	,						_lowerCAmelCase=3	,						_lowerCAmelCase=[7, 3, 3, 3]	,						_lowerCAmelCase=[4, 2, 2, 2]	,						_lowerCAmelCase=[64, 128, 320, 512]	,						_lowerCAmelCase=[3, 3, 12, 3]	,						_lowerCAmelCase=[8, 8, 4, 4]	,						_lowerCAmelCase="gelu"	,						_lowerCAmelCase=0.0_2	,						_lowerCAmelCase=1e-6	,						_lowerCAmelCase=1e-2	,						_lowerCAmelCase=0.0	,						_lowerCAmelCase=0.0	,						**_lowerCAmelCase	,						):
          super().__init__(**_lowerCAmelCase		)
          UpperCAmelCase__      :  Tuple				      =			image_size
          UpperCAmelCase__      :  Optional[Any]				      =			num_channels
          UpperCAmelCase__      :  Optional[int]				      =			patch_sizes
          UpperCAmelCase__      :  int				      =			strides
          UpperCAmelCase__      :  Optional[int]				      =			hidden_sizes
          UpperCAmelCase__      :  str				      =			depths
          UpperCAmelCase__      :  Optional[Any]				      =			mlp_ratios
          UpperCAmelCase__      :  List[Any]				      =			hidden_act
          UpperCAmelCase__      :  Tuple				      =			initializer_range
          UpperCAmelCase__      :  Any				      =			layer_norm_eps
          UpperCAmelCase__      :  List[Any]				      =			layer_scale_init_value
          UpperCAmelCase__      :  int				      =			drop_path_rate
          UpperCAmelCase__      :  Dict				      =			dropout_rate










def 		_A		(		_lowercase )					-> int:


     """simple docstring"""


     assert column_title.isupper()
     __UpperCamelCase =			0
     __UpperCamelCase =			len(_lowercase ) - 1
     __UpperCamelCase =			0

     while index >= 0:
          __UpperCamelCase =			(ord(column_title[index] ) - 64) * pow(26					,  _lowercase )
          answer += value
          power += 1
          index -= 1

     return answer


if __name__ == "__main__":
    from doctest import testmod

    testmod()


