




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


__lowerCAmelCase						:							Union[str, Any]			     =						logging.get_logger(__name__)

__lowerCAmelCase						:							List[str]			     =						{
    """MCG-NJU/videomae-base""": """https://huggingface.co/MCG-NJU/videomae-base/resolve/main/config.json""",
}




class        snake_case__				(_a  ):
				"""simple docstring"""



				SCREAMING_SNAKE_CASE_			:				int									=   """videomae"""





				def __init__( self							:	List[Any]   , __lowerCamelCase							:	List[str]=2_24   , __lowerCamelCase							:	int=16   , __lowerCamelCase							:	Optional[int]=3   , __lowerCamelCase							:	Tuple=16   , __lowerCamelCase							:	Dict=2   , __lowerCamelCase							:	List[str]=7_68   , __lowerCamelCase							:	str=12   , __lowerCamelCase							:	List[Any]=12   , __lowerCamelCase							:	List[str]=30_72   , __lowerCamelCase							:	Union[str, Any]="gelu"   , __lowerCamelCase							:	Dict=0.0   , __lowerCamelCase							:	Optional[Any]=0.0   , __lowerCamelCase							:	str=0.02   , __lowerCamelCase							:	List[Any]=1e-12   , __lowerCamelCase							:	Optional[int]=True   , __lowerCamelCase							:	Tuple=True   , __lowerCamelCase							:	Optional[Any]=6   , __lowerCamelCase							:	str=3_84   , __lowerCamelCase							:	Union[str, Any]=4   , __lowerCamelCase							:	Any=15_36   , __lowerCamelCase							:	Optional[int]=True   , **__lowerCamelCase							:	str   , )   ->	List[Any]:
							super().__init__(**snake_case_				)

							a       =     image_size
							a       =     patch_size
							a       =     num_channels
							a       =     num_frames
							a       =     tubelet_size

							a       =     hidden_size
							a       =     num_hidden_layers
							a       =     num_attention_heads
							a       =     intermediate_size
							a       =     hidden_act
							a       =     hidden_dropout_prob
							a       =     attention_probs_dropout_prob
							a       =     initializer_range
							a       =     layer_norm_eps
							a       =     qkv_bias
							a       =     use_mean_pooling

							a       =     decoder_num_attention_heads
							a       =     decoder_hidden_size
							a       =     decoder_num_hidden_layers
							a       =     decoder_intermediate_size
							a       =     norm_pix_loss














"""simple docstring"""





def 	lowerCAmelCase_(			SCREAMING_SNAKE_CASE       )       ->						int:
    """simple docstring"""

    if not isinstance(SCREAMING_SNAKE_CASE			,						SCREAMING_SNAKE_CASE       ):
        raise ValueError('double_factorial() only accepts integral values'       )
    if num < 0:
        raise ValueError('double_factorial() not defined for negative values'       )
    UpperCamelCase__								=     1
    for i in range(SCREAMING_SNAKE_CASE			,						0			,						-2       ):
        value *= i
    return value


if __name__ == "__main__":
  import doctest

  doctest.testmod()




