

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


A											=     logging.get_logger(__name__)

A											=     {
    '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  (		lowerCAmelCase__							):






			"""simple docstring"""




			__A						  =  "vivit"


			def __init__(    self ,				__UpperCamelCase=2_24 ,				__UpperCamelCase=32 ,				__UpperCamelCase=[2, 16, 16] ,				__UpperCamelCase=3 ,				__UpperCamelCase=7_68 ,				__UpperCamelCase=12 ,				__UpperCamelCase=12 ,				__UpperCamelCase=30_72 ,				__UpperCamelCase="gelu_fast" ,				__UpperCamelCase=0.0 ,				__UpperCamelCase=0.0 ,				__UpperCamelCase=0.02 ,				__UpperCamelCase=1E-06 ,				__UpperCamelCase=True ,				**__UpperCamelCase ,				):

				"""simple docstring"""


				snake_case_      		= hidden_size
				snake_case_      		= num_hidden_layers
				snake_case_      		= num_attention_heads
				snake_case_      		= intermediate_size
				snake_case_      		= hidden_act
				snake_case_      		= hidden_dropout_prob
				snake_case_      		= attention_probs_dropout_prob
				snake_case_      		= initializer_range
				snake_case_      		= layer_norm_eps

				snake_case_      		= image_size
				snake_case_      		= num_frames
				snake_case_      		= tubelet_size
				snake_case_      		= num_channels
				snake_case_      		= qkv_bias

				super().__init__(**_lowerCamelCase							)



import operator as op





def a(lowercase__	):





	'''simple docstring'''
	snake_case_      		= []
	snake_case_      		= lambda lowercase__			, lowercase__	: int(x / y	)  # noqa: E731 integer division operation
	snake_case_      		= {
	    '^': op.pow,
	    '*': op.mul,
	    '/': div,
	    '+': op.add,
	    '-': op.sub,
	}  # operators & their respective operation

	# print table header
	print('Symbol'.center(8	)			, 'Action'.center(12	)			, 'Stack'			, sep=' | '	)
	print('-' * (30 + len(lowercase__	))	)

	for x in post_fix:
		if x.isdigit():  # if x in digit
			stack.append(lowercase__	)  # append x to stack
			# output in tabular format
			print(x.rjust(8	)			, ('push(' + x + ')').ljust(12	)			, ','.join(lowercase__	)			, sep=' | '	)
		else:
			snake_case_      		= stack.pop()  # pop stack
			# output in tabular format
			print(''.rjust(8	)			, ('pop(' + b + ')').ljust(12	)			, ','.join(lowercase__	)			, sep=' | '	)

			snake_case_      		= stack.pop()  # pop stack
			# output in tabular format
			print(''.rjust(8	)			, ('pop(' + a + ')').ljust(12	)			, ','.join(lowercase__	)			, sep=' | '	)

			stack.append(
			    str(opr[x](int(lowercase__	)			, int(lowercase__	)	)	)	)  # evaluate the 2 values popped from stack & push result to stack
			# output in tabular format
			print(
			    x.rjust(8	)			, ('push(' + a + x + b + ')').ljust(12	)			, ','.join(lowercase__	)			, sep=' | '			, )

	return int(stack[0]	)


if __name__ == "__main__":
		A											=     input('\n\nEnter a Postfix Equation (space separated) = ').split(' ')
		print('\n\tResult = ', solve(Postfix))
