
"""simple docstring"""





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


SCREAMING_SNAKE_CASE_												= logging.get_logger(__name__)

SCREAMING_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 				a ( SCREAMING_SNAKE_CASE_							):





       """simple docstring"""







       A__       :							Union[str, Any]    				=				"vit_mae"






       def __init__(			self							,	snake_case_=768							,	snake_case_=12							,	snake_case_=12							,	snake_case_=3072							,	snake_case_="gelu"							,	snake_case_=0.0							,	snake_case_=0.0							,	snake_case_=0.02							,	snake_case_=1e-1_2							,	snake_case_=224							,	snake_case_=16							,	snake_case_=3							,	snake_case_=True							,	snake_case_=16							,	snake_case_=512							,	snake_case_=8							,	snake_case_=2048							,	snake_case_=0.75							,	snake_case_=False							,	**snake_case_							,	)    ->				Tuple:
          super().__init__(**__a			)

          _UpperCAmelCase         =      hidden_size
          _UpperCAmelCase         =      num_hidden_layers
          _UpperCAmelCase         =      num_attention_heads
          _UpperCAmelCase         =      intermediate_size
          _UpperCAmelCase         =      hidden_act
          _UpperCAmelCase         =      hidden_dropout_prob
          _UpperCAmelCase         =      attention_probs_dropout_prob
          _UpperCAmelCase         =      initializer_range
          _UpperCAmelCase         =      layer_norm_eps
          _UpperCAmelCase         =      image_size
          _UpperCAmelCase         =      patch_size
          _UpperCAmelCase         =      num_channels
          _UpperCAmelCase         =      qkv_bias
          _UpperCAmelCase         =      decoder_num_attention_heads
          _UpperCAmelCase         =      decoder_hidden_size
          _UpperCAmelCase         =      decoder_num_hidden_layers
          _UpperCAmelCase         =      decoder_intermediate_size
          _UpperCAmelCase         =      mask_ratio
          _UpperCAmelCase         =      norm_pix_loss






'''simple docstring'''





from __future__ import annotations





def   a_   (		_UpperCAmelCase    :      list[int]				)    ->  bool:
      return len(set(_UpperCAmelCase				)				) == len(_UpperCAmelCase				)


if __name__ == "__main__":
    import doctest

    doctest.testmod()



