
"""simple docstring"""





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


__magic_name__       =			logging.get_logger(__name__)

__magic_name__       =			{
    "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 						SCREAMING_SNAKE_CASE_ (						__a ):




		"""simple docstring"""





		__lowercase							:  int						   =		'''vivit'''




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

				__SCREAMING_SNAKE_CASE            = image_size
				__SCREAMING_SNAKE_CASE            = num_frames
				__SCREAMING_SNAKE_CASE            = tubelet_size
				__SCREAMING_SNAKE_CASE            = num_channels
				__SCREAMING_SNAKE_CASE            = qkv_bias

				super().__init__(**lowerCAmelCase__)








"""simple docstring"""






import re
def      lowerCamelCase       (     _UpperCamelCase		:      str							)		->       str:

							'''simple docstring'''



							if len(re.findall("""[ATCG]"""       ,			_UpperCamelCase							)							) != len(_UpperCamelCase							):
														raise ValueError("""Invalid Strand"""							)

							return dna.translate(dna.maketrans("""ATCG"""       ,			"""TAGC"""							)							)


if __name__ == "__main__":
							import doctest

							doctest.testmod()
