

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


UpperCAmelCase_							:					int		 =   logging.get_logger(__name__)

UpperCAmelCase_							:					Dict		 =   {
    '''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      lowerCamelCase_      (	_lowercase	):
	_lowercase		:   Any     					=				'''vivit'''




	def __init__(     self						:     Any					,      __A						:     str=224					,      __A						:     List[str]=32					,      __A						:     Any=[2, 16, 16]					,      __A						:     List[Any]=3					,      __A						:     Dict=768					,      __A						:     Union[str, Any]=12					,      __A						:     Optional[int]=12					,      __A						:     str=3072					,      __A						:     Any="gelu_fast"					,      __A						:     Optional[Any]=0.0					,      __A						:     Union[str, Any]=0.0					,      __A						:     Optional[int]=0.0_2					,      __A						:     Optional[Any]=1e-0_6					,      __A						:     Optional[int]=True					,      **__A						:     str					,      ):
		__A :			Optional[Any]		    =			hidden_size
		__A :			Any		    =			num_hidden_layers
		__A :			Any		    =			num_attention_heads
		__A :			str		    =			intermediate_size
		__A :			List[str]		    =			hidden_act
		__A :			Tuple		    =			hidden_dropout_prob
		__A :			str		    =			attention_probs_dropout_prob
		__A :			Union[str, Any]		    =			initializer_range
		__A :			Any		    =			layer_norm_eps

		__A :			Dict		    =			image_size
		__A :			int		    =			num_frames
		__A :			Optional[int]		    =			tubelet_size
		__A :			str		    =			num_channels
		__A :			int		    =			qkv_bias

		super().__init__(**__A							)













from collections import defaultdict



def  a__ (__lowercase							:str					,  __lowercase							:str   )		-> bool:
				_A	:				Union[str, Any]   =      first_str.lower().strip()
				_A	:				int   =      second_str.lower().strip()

				# Remove whitespace
				_A	:				int   =      first_str.replace(''' '''					,  ''''''   )
				_A	:				Optional[Any]   =      second_str.replace(''' '''					,  ''''''   )

				# Strings of different lengths are not anagrams
				if len(__lowercase   ) != len(__lowercase   ):
								return False

				# Default values for count should be 0
				_A	:				defaultdict[str, int]   =      defaultdict(__lowercase   )

				# For each character in input strings,
				# increment count in the corresponding
				for i in range(len(__lowercase   )   ):
								count[first_str[i]] += 1
								count[second_str[i]] -= 1

				return all(_count == 0 for _count in count.values()   )


if __name__ == "__main__":
	from doctest import testmod

	testmod()
	_UpperCamelCase			:	Dict								=input('Enter the first string ').strip()
	_UpperCamelCase			:	Union[str, Any]								=input('Enter the second string ').strip()

	_UpperCamelCase			:	Dict								=check_anagrams(input_a, input_b)
	print(f'''{input_a} and {input_b} are {"" if status else "not "}anagrams.''')



