




"""simple docstring"""






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


UpperCamelCase__						=			logging.get_logger(__name__)

UpperCamelCase__						=			{
    '''google/vivit-b-16x2-kinetics400''': (
        '''https://huggingface.co/google/vivit-b-16x2-kinetics400/resolve/main/config.json'''
    ),
    # See all Vivit models at https://huggingface.co/models?filter=vivit
}




class   a__			(       UpperCamelCase_  ):
						snake_case__             = '''vivit'''





						def __init__(							self      :	List[str]     ,a__      :	Optional[Any]=224     ,a__      :	Dict=32     ,a__      :	str=[2, 16, 16]     ,a__      :	int=3     ,a__      :	Union[str, Any]=768     ,a__      :	int=12     ,a__      :	Optional[int]=12     ,a__      :	int=3072     ,a__      :	Tuple="gelu_fast"     ,a__      :	List[str]=0.0     ,a__      :	Optional[int]=0.0     ,a__      :	str=0.02     ,a__      :	Union[str, Any]=1E-06     ,a__      :	Union[str, Any]=True     ,**a__      :	Dict     ,)						->       int:




											"""simple docstring"""







											_lowerCAmelCase:str									=  hidden_size
											_lowerCAmelCase:Tuple									=  num_hidden_layers
											_lowerCAmelCase:Optional[int]									=  num_attention_heads
											_lowerCAmelCase:Optional[int]									=  intermediate_size
											_lowerCAmelCase:Any									=  hidden_act
											_lowerCAmelCase:Optional[Any]									=  hidden_dropout_prob
											_lowerCAmelCase:List[str]									=  attention_probs_dropout_prob
											_lowerCAmelCase:List[str]									=  initializer_range
											_lowerCAmelCase:Optional[int]									=  layer_norm_eps

											_lowerCAmelCase:Dict									=  image_size
											_lowerCAmelCase:int									=  num_frames
											_lowerCAmelCase:List[str]									=  tubelet_size
											_lowerCAmelCase:Union[str, Any]									=  num_channels
											_lowerCAmelCase:Tuple									=  qkv_bias

											super().__init__(**a__)












"""simple docstring"""






import baseaa





def 							UpperCAmelCase		(		snake_case			:					str    ):
					return baseaa.aaaencode(string.encode('''utf-8'''    )    )





def 							UpperCAmelCase		(		snake_case			:					bytes    ):
					return baseaa.aaadecode(snake_case    ).decode('''utf-8'''    )


if __name__ == "__main__":
				import doctest

				doctest.testmod()






