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


lowercase__		:str			  =   logging.get_logger(__name__)

lowercase__		:Tuple			  =   {
    "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     lowercase		( SCREAMING_SNAKE_CASE__		):
							lowercase_	:	int	 ='''vivit'''




							def __init__(    self       ,A__=2_2_4       ,A__=3_2       ,A__=[2, 1_6, 1_6]       ,A__=3       ,A__=7_6_8       ,A__=1_2       ,A__=1_2       ,A__=3_0_7_2       ,A__="gelu_fast"       ,A__=0.0       ,A__=0.0       ,A__=0.02       ,A__=1E-06       ,A__=True       ,**A__       ,):
												lowercase						     =						hidden_size
												lowercase						     =						num_hidden_layers
												lowercase						     =						num_attention_heads
												lowercase						     =						intermediate_size
												lowercase						     =						hidden_act
												lowercase						     =						hidden_dropout_prob
												lowercase						     =						attention_probs_dropout_prob
												lowercase						     =						initializer_range
												lowercase						     =						layer_norm_eps

												lowercase						     =						image_size
												lowercase						     =						num_frames
												lowercase						     =						tubelet_size
												lowercase						     =						num_channels
												lowercase						     =						qkv_bias

												super().__init__(**A__)





lowercase__		:List[str]			  =   6_5521



def 	UpperCamelCase   (							lowerCAmelCase__		):
					'''simple docstring'''
					lowercase						     =						1
					lowercase						     =						0
					for plain_chr in plain_text:
										lowercase						     =						(a + ord(lowerCAmelCase__		)) % MOD_ADLER
										lowercase						     =						(b + a) % MOD_ADLER
					return (b << 16) | a




