




"""simple docstring"""





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


_lowercase		 =      logging.get_logger(__name__)

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

class  __lowercase    (     snake_case_		):


				'''simple docstring'''


				_lowerCAmelCase		     ="videomae"

				def __init__(				self				:       Optional[int] ,SCREAMING_SNAKE_CASE_				:       Optional[int]=2_2_4 ,SCREAMING_SNAKE_CASE_				:       Dict=1_6 ,SCREAMING_SNAKE_CASE_				:       Tuple=3 ,SCREAMING_SNAKE_CASE_				:       Any=1_6 ,SCREAMING_SNAKE_CASE_				:       List[Any]=2 ,SCREAMING_SNAKE_CASE_				:       Union[str, Any]=7_6_8 ,SCREAMING_SNAKE_CASE_				:       Optional[int]=1_2 ,SCREAMING_SNAKE_CASE_				:       Any=1_2 ,SCREAMING_SNAKE_CASE_				:       Union[str, Any]=3_0_7_2 ,SCREAMING_SNAKE_CASE_				:       Any="gelu" ,SCREAMING_SNAKE_CASE_				:       str=0.0 ,SCREAMING_SNAKE_CASE_				:       Dict=0.0 ,SCREAMING_SNAKE_CASE_				:       Optional[int]=0.02 ,SCREAMING_SNAKE_CASE_				:       Union[str, Any]=1E-12 ,SCREAMING_SNAKE_CASE_				:       List[str]=True ,SCREAMING_SNAKE_CASE_				:       Optional[int]=True ,SCREAMING_SNAKE_CASE_				:       int=6 ,SCREAMING_SNAKE_CASE_				:       Optional[int]=3_8_4 ,SCREAMING_SNAKE_CASE_				:       Dict=4 ,SCREAMING_SNAKE_CASE_				:       Tuple=1_5_3_6 ,SCREAMING_SNAKE_CASE_				:       List[Any]=True ,**SCREAMING_SNAKE_CASE_				:       int ,):
										super().__init__(**SCREAMING_SNAKE_CASE_ )

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

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

										snake_case__    :   Any							     =   decoder_num_attention_heads
										snake_case__    :   str							     =   decoder_hidden_size
										snake_case__    :   int							     =   decoder_num_hidden_layers
										snake_case__    :   Optional[int]							     =   decoder_intermediate_size
										snake_case__    :   str							     =   norm_pix_loss








"""simple docstring"""





def 						lowerCAmelCase							(	lowerCamelCase						):
						'''simple docstring'''


						return int(lowerCamelCase						) if x - int(lowerCamelCase						) <= 0 else int(lowerCamelCase						) + 1


if __name__ == "__main__":
							import doctest

							doctest.testmod()


