



"""simple docstring"""






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


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

__snake_case				:  str =       {
    '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'''





	SCREAMING_SNAKE_CASE        =      'vit_mae'

	def __init__(	self:						Union[str, Any]			,     _SCREAMING_SNAKE_CASE:						List[str]=768			,     _SCREAMING_SNAKE_CASE:						Optional[Any]=12			,     _SCREAMING_SNAKE_CASE:						Dict=12			,     _SCREAMING_SNAKE_CASE:						List[Any]=3072			,     _SCREAMING_SNAKE_CASE:						Dict="gelu"			,     _SCREAMING_SNAKE_CASE:						Optional[int]=0.0			,     _SCREAMING_SNAKE_CASE:						int=0.0			,     _SCREAMING_SNAKE_CASE:						Tuple=0.02			,     _SCREAMING_SNAKE_CASE:						str=1e-12			,     _SCREAMING_SNAKE_CASE:						Optional[int]=224			,     _SCREAMING_SNAKE_CASE:						Union[str, Any]=16			,     _SCREAMING_SNAKE_CASE:						Any=3			,     _SCREAMING_SNAKE_CASE:						int=True			,     _SCREAMING_SNAKE_CASE:						Dict=16			,     _SCREAMING_SNAKE_CASE:						Optional[Any]=512			,     _SCREAMING_SNAKE_CASE:						Dict=8			,     _SCREAMING_SNAKE_CASE:						str=2048			,     _SCREAMING_SNAKE_CASE:						Optional[Any]=0.75			,     _SCREAMING_SNAKE_CASE:						int=False			,     **_SCREAMING_SNAKE_CASE:						List[str]			,     )							->			Dict:

				"""simple docstring"""

				super().__init__(**_SCREAMING_SNAKE_CASE)

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




"""simple docstring"""






from ..utils import DummyObject, requires_backends



class      A__  (    metaclass=__SCREAMING_SNAKE_CASE				):




	'''simple docstring'''





	SCREAMING_SNAKE_CASE        =      ['torch', 'transformers', 'onnx']

	def __init__(	self:						Union[str, Any]			,     *_SCREAMING_SNAKE_CASE:						Any			,     **_SCREAMING_SNAKE_CASE:						int)							->			List[Any]:

				"""simple docstring"""

				requires_backends(self			,     ["torch", "transformers", "onnx"])

	@classmethod
	def 				_SCREAMING_SNAKE_CASE  (	cls:						Union[str, Any]			,     *_SCREAMING_SNAKE_CASE:						List[Any]			,     **_SCREAMING_SNAKE_CASE:						Union[str, Any])							->			Union[str, Any]:

				"""simple docstring"""

				requires_backends(cls			,     ["torch", "transformers", "onnx"])







	@classmethod
	def 				_SCREAMING_SNAKE_CASE  (	cls:						int			,     *_SCREAMING_SNAKE_CASE:						Any			,     **_SCREAMING_SNAKE_CASE:						str)							->			Union[str, Any]:

				"""simple docstring"""

				requires_backends(cls			,     ["torch", "transformers", "onnx"])






class      A__  (    metaclass=__SCREAMING_SNAKE_CASE				):




	'''simple docstring'''





	SCREAMING_SNAKE_CASE        =      ['torch', 'transformers', 'onnx']

	def __init__(	self:						Tuple			,     *_SCREAMING_SNAKE_CASE:						Optional[Any]			,     **_SCREAMING_SNAKE_CASE:						List[str])							->			Optional[int]:

				"""simple docstring"""

				requires_backends(self			,     ["torch", "transformers", "onnx"])

	@classmethod
	def 				_SCREAMING_SNAKE_CASE  (	cls:						Dict			,     *_SCREAMING_SNAKE_CASE:						Optional[Any]			,     **_SCREAMING_SNAKE_CASE:						int)							->			List[Any]:

				"""simple docstring"""

				requires_backends(cls			,     ["torch", "transformers", "onnx"])







	@classmethod
	def 				_SCREAMING_SNAKE_CASE  (	cls:						Optional[Any]			,     *_SCREAMING_SNAKE_CASE:						Dict			,     **_SCREAMING_SNAKE_CASE:						Optional[Any])							->			Union[str, Any]:

				"""simple docstring"""

				requires_backends(cls			,     ["torch", "transformers", "onnx"])






class      A__  (    metaclass=__SCREAMING_SNAKE_CASE				):




	'''simple docstring'''





	SCREAMING_SNAKE_CASE        =      ['torch', 'transformers', 'onnx']

	def __init__(	self:						int			,     *_SCREAMING_SNAKE_CASE:						List[Any]			,     **_SCREAMING_SNAKE_CASE:						int)							->			List[str]:

				"""simple docstring"""

				requires_backends(self			,     ["torch", "transformers", "onnx"])

	@classmethod
	def 				_SCREAMING_SNAKE_CASE  (	cls:						Dict			,     *_SCREAMING_SNAKE_CASE:						Any			,     **_SCREAMING_SNAKE_CASE:						Any)							->			str:

				"""simple docstring"""

				requires_backends(cls			,     ["torch", "transformers", "onnx"])







	@classmethod
	def 				_SCREAMING_SNAKE_CASE  (	cls:						List[Any]			,     *_SCREAMING_SNAKE_CASE:						List[str]			,     **_SCREAMING_SNAKE_CASE:						int)							->			int:

				"""simple docstring"""

				requires_backends(cls			,     ["torch", "transformers", "onnx"])






class      A__  (    metaclass=__SCREAMING_SNAKE_CASE				):




	'''simple docstring'''





	SCREAMING_SNAKE_CASE        =      ['torch', 'transformers', 'onnx']

	def __init__(	self:						Tuple			,     *_SCREAMING_SNAKE_CASE:						List[str]			,     **_SCREAMING_SNAKE_CASE:						List[str])							->			Optional[Any]:

				"""simple docstring"""

				requires_backends(self			,     ["torch", "transformers", "onnx"])

	@classmethod
	def 				_SCREAMING_SNAKE_CASE  (	cls:						List[str]			,     *_SCREAMING_SNAKE_CASE:						Tuple			,     **_SCREAMING_SNAKE_CASE:						int)							->			int:

				"""simple docstring"""

				requires_backends(cls			,     ["torch", "transformers", "onnx"])







	@classmethod
	def 				_SCREAMING_SNAKE_CASE  (	cls:						Optional[int]			,     *_SCREAMING_SNAKE_CASE:						str			,     **_SCREAMING_SNAKE_CASE:						Any)							->			int:

				"""simple docstring"""

				requires_backends(cls			,     ["torch", "transformers", "onnx"])






class      A__  (    metaclass=__SCREAMING_SNAKE_CASE				):




	'''simple docstring'''





	SCREAMING_SNAKE_CASE        =      ['torch', 'transformers', 'onnx']

	def __init__(	self:						Optional[Any]			,     *_SCREAMING_SNAKE_CASE:						Union[str, Any]			,     **_SCREAMING_SNAKE_CASE:						Optional[int])							->			str:

				"""simple docstring"""

				requires_backends(self			,     ["torch", "transformers", "onnx"])

	@classmethod
	def 				_SCREAMING_SNAKE_CASE  (	cls:						Optional[int]			,     *_SCREAMING_SNAKE_CASE:						List[Any]			,     **_SCREAMING_SNAKE_CASE:						Tuple)							->			Union[str, Any]:

				"""simple docstring"""

				requires_backends(cls			,     ["torch", "transformers", "onnx"])







	@classmethod
	def 				_SCREAMING_SNAKE_CASE  (	cls:						int			,     *_SCREAMING_SNAKE_CASE:						str			,     **_SCREAMING_SNAKE_CASE:						Any)							->			Optional[Any]:

				"""simple docstring"""

				requires_backends(cls			,     ["torch", "transformers", "onnx"])






class      A__  (    metaclass=__SCREAMING_SNAKE_CASE				):




	'''simple docstring'''





	SCREAMING_SNAKE_CASE        =      ['torch', 'transformers', 'onnx']

	def __init__(	self:						List[Any]			,     *_SCREAMING_SNAKE_CASE:						List[str]			,     **_SCREAMING_SNAKE_CASE:						List[str])							->			int:

				"""simple docstring"""

				requires_backends(self			,     ["torch", "transformers", "onnx"])

	@classmethod
	def 				_SCREAMING_SNAKE_CASE  (	cls:						Union[str, Any]			,     *_SCREAMING_SNAKE_CASE:						Optional[int]			,     **_SCREAMING_SNAKE_CASE:						Optional[Any])							->			List[Any]:

				"""simple docstring"""

				requires_backends(cls			,     ["torch", "transformers", "onnx"])







	@classmethod
	def 				_SCREAMING_SNAKE_CASE  (	cls:						str			,     *_SCREAMING_SNAKE_CASE:						Optional[int]			,     **_SCREAMING_SNAKE_CASE:						Dict)							->			Optional[Any]:

				"""simple docstring"""

				requires_backends(cls			,     ["torch", "transformers", "onnx"])