"""simple docstring"""






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


__A         =				logging.get_logger(__name__)

__A         =				{
    'MCG-NJU/videomae-base': 'https://huggingface.co/MCG-NJU/videomae-base/resolve/main/config.json',
}


class 					UpperCAmelCase		(A__						):



    """simple docstring"""

    _UpperCAmelCase			:Any							=				"videomae"






    def __init__(     self					,    _UpperCAmelCase=224					,    _UpperCAmelCase=16					,    _UpperCAmelCase=3					,    _UpperCAmelCase=16					,    _UpperCAmelCase=2					,    _UpperCAmelCase=768					,    _UpperCAmelCase=12					,    _UpperCAmelCase=12					,    _UpperCAmelCase=3072					,    _UpperCAmelCase="gelu"					,    _UpperCAmelCase=0.0					,    _UpperCAmelCase=0.0					,    _UpperCAmelCase=0.02					,    _UpperCAmelCase=1e-1_2					,    _UpperCAmelCase=True					,    _UpperCAmelCase=True					,    _UpperCAmelCase=6					,    _UpperCAmelCase=384					,    _UpperCAmelCase=4					,    _UpperCAmelCase=1536					,    _UpperCAmelCase=True					,    **_UpperCAmelCase					,    ):
       super().__init__(**_lowerCAmelCase							)

       lowercase__:     Union[str, Any]      =   image_size
       lowercase__:     str      =   patch_size
       lowercase__:     List[Any]      =   num_channels
       lowercase__:     Dict      =   num_frames
       lowercase__:     List[Any]      =   tubelet_size

       lowercase__:     Optional[int]      =   hidden_size
       lowercase__:     Tuple      =   num_hidden_layers
       lowercase__:     List[Any]      =   num_attention_heads
       lowercase__:     Union[str, Any]      =   intermediate_size
       lowercase__:     int      =   hidden_act
       lowercase__:     List[Any]      =   hidden_dropout_prob
       lowercase__:     List[str]      =   attention_probs_dropout_prob
       lowercase__:     str      =   initializer_range
       lowercase__:     Any      =   layer_norm_eps
       lowercase__:     List[str]      =   qkv_bias
       lowercase__:     Union[str, Any]      =   use_mean_pooling

       lowercase__:     Tuple      =   decoder_num_attention_heads
       lowercase__:     Union[str, Any]      =   decoder_hidden_size
       lowercase__:     List[str]      =   decoder_num_hidden_layers
       lowercase__:     Tuple      =   decoder_intermediate_size
       lowercase__:     Union[str, Any]      =   norm_pix_loss

"""simple docstring"""






def SCREAMING_SNAKE_CASE__    (     __UpperCAmelCase				)						->						int:
   if not isinstance(__UpperCAmelCase ,					__UpperCAmelCase				):
      lowercase__:     Optional[int]      =   F"""Input value of [number={number}] must be an integer"""
      raise TypeError(__UpperCAmelCase				)
   if number < 1:
      raise ValueError('''Input must be a positive integer'''				)
   return number * (2 * number - 1)


if __name__ == "__main__":
       import doctest

       doctest.testmod()
