


"""simple docstring"""


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


__snake_case    					=					logging.get_logger(__name__)

__snake_case    					=					{
    'facebook/vit-mae-base': 'https://huggingface.co/facebook/vit-mae-base/resolve/main/config.json',
    # See all ViT MAE models at https://huggingface.co/models?filter=vit-mae
}

class 				_SCREAMING_SNAKE_CASE				(							__UpperCAmelCase  ):
   """simple docstring"""



   _a   :       Optional[int]									=    '''vit_mae'''


   def __init__(						self ,     lowerCamelCase__=768 ,     lowerCamelCase__=12 ,     lowerCamelCase__=12 ,     lowerCamelCase__=3072 ,     lowerCamelCase__="gelu" ,     lowerCamelCase__=0.0 ,     lowerCamelCase__=0.0 ,     lowerCamelCase__=0.02 ,     lowerCamelCase__=1E-12 ,     lowerCamelCase__=224 ,     lowerCamelCase__=16 ,     lowerCamelCase__=3 ,     lowerCamelCase__=True ,     lowerCamelCase__=16 ,     lowerCamelCase__=512 ,     lowerCamelCase__=8 ,     lowerCamelCase__=2048 ,     lowerCamelCase__=0.75 ,     lowerCamelCase__=False ,     **lowerCamelCase__ ,     )      ->							Dict:
    super().__init__(**lowerCamelCase__						)

    lowercase__       :       Dict				=						hidden_size
    lowercase__       :       Union[str, Any]				=						num_hidden_layers
    lowercase__       :       str				=						num_attention_heads
    lowercase__       :       Tuple				=						intermediate_size
    lowercase__       :       str				=						hidden_act
    lowercase__       :       List[str]				=						hidden_dropout_prob
    lowercase__       :       Optional[Any]				=						attention_probs_dropout_prob
    lowercase__       :       Optional[int]				=						initializer_range
    lowercase__       :       List[str]				=						layer_norm_eps
    lowercase__       :       Tuple				=						image_size
    lowercase__       :       Dict				=						patch_size
    lowercase__       :       Tuple				=						num_channels
    lowercase__       :       Optional[int]				=						qkv_bias
    lowercase__       :       int				=						decoder_num_attention_heads
    lowercase__       :       Union[str, Any]				=						decoder_hidden_size
    lowercase__       :       List[Any]				=						decoder_num_hidden_layers
    lowercase__       :       Optional[Any]				=						decoder_intermediate_size
    lowercase__       :       Any				=						mask_ratio
    lowercase__       :       Any				=						norm_pix_loss



"""simple docstring"""


def    _lowerCamelCase   (     lowerCamelCase__	:							str  ):
 assert column_title.isupper()
 lowercase__       :       int				=						0
 lowercase__       :       Optional[int]				=						len(lowerCamelCase__  ) - 1
 lowercase__       :       int				=						0

 while index >= 0:
  lowercase__       :       List[str]				=						(ord(column_title[index]  ) - 64) * pow(26       ,		lowerCamelCase__  )
  answer += value
  power += 1
  index -= 1

 return answer


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

   testmod()