





"""simple docstring"""




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


lowerCamelCase_	:		int         =   logging.get_logger(__name__)

lowerCamelCase_	:		Optional[Any]         =   {
    'MCG-NJU/videomae-base': 'https://huggingface.co/MCG-NJU/videomae-base/resolve/main/config.json',
}

class 					_UpperCAmelCase    (  _a						):



      '''simple docstring'''
      lowercase_ :					str             =  'videomae'

      def __init__(	self   , snake_case_=2_2_4   , snake_case_=1_6   , snake_case_=3   , snake_case_=1_6   , snake_case_=2   , snake_case_=7_6_8   , snake_case_=1_2   , snake_case_=1_2   , snake_case_=3_0_7_2   , snake_case_="gelu"   , snake_case_=0.0   , snake_case_=0.0   , snake_case_=0.02   , snake_case_=1E-12   , snake_case_=True   , snake_case_=True   , snake_case_=6   , snake_case_=3_8_4   , snake_case_=4   , snake_case_=1_5_3_6   , snake_case_=True   , **snake_case_   , ):

        """simple docstring"""

        super().__init__(**snake_case_    )

        A_    :			Union[str, Any]									=    image_size
        A_    :			int									=    patch_size
        A_    :			Any									=    num_channels
        A_    :			Optional[int]									=    num_frames
        A_    :			int									=    tubelet_size

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

        A_    :			List[str]									=    decoder_num_attention_heads
        A_    :			List[str]									=    decoder_hidden_size
        A_    :			Tuple									=    decoder_num_hidden_layers
        A_    :			List[Any]									=    decoder_intermediate_size
        A_    :			Optional[int]									=    norm_pix_loss
def 					__lowercase						(    lowerCamelCase__       )					->int:

  '''simple docstring'''




  if not isinstance(lowerCamelCase__			,					lowerCamelCase__       ):
    raise ValueError("double_factorial() only accepts integral values"       )
  if n < 0:
    raise ValueError("double_factorial() not defined for negative values"       )
  return 1 if n <= 1 else n * double_factorial(n - 2       )


if __name__ == "__main__":
     import doctest

     doctest.testmod()

