
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 					lowerCamelCase		(  A_  ):
     UpperCAmelCase__    :							Optional[int]									=		"vivit"





     def __init__(self				:   List[Any]    ,   _A				:   Tuple=2_2_4    ,   _A				:   Optional[int]=3_2    ,   _A				:   str=[2, 1_6, 1_6]    ,   _A				:   Optional[int]=3    ,   _A				:   Optional[int]=7_6_8    ,   _A				:   int=1_2    ,   _A				:   Any=1_2    ,   _A				:   List[str]=3_0_7_2    ,   _A				:   List[Any]="gelu_fast"    ,   _A				:   Any=0.0    ,   _A				:   Dict=0.0    ,   _A				:   Union[str, Any]=0.02    ,   _A				:   Tuple=1E-06    ,   _A				:   Optional[int]=True    ,   **_A				:   List[Any]    ,   )						->						Optional[Any]:
         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__(**_A       )



class 					lowerCamelCase		:





     def __init__(self				:   List[Any]    ,   _A				:   str       )						->						Any:
         # we need a list not a string, so do something to change the type
         snake_case								= arr.split(","       )





     def 		UpperCAmelCase(self				:   str       )						->						str:
         snake_case								= [int(self.array[0]       )] * len(self.array       )
         snake_case								= [int(self.array[0]       )] * len(self.array       )
         for i in range(1    ,   len(self.array       )       ):
             snake_case								= max(
                 int(self.array[i]       ) + sum_value[i - 1]    ,   int(self.array[i]       )       )
             snake_case								= max(sum_value[i]    ,   rear[i - 1]       )
         return rear[len(self.array       ) - 1]


if __name__ == "__main__":
   _A   =			input("please input some numbers:")
   _A   =			SubArray(whole_array)
   _A   =			array.solve_sub_array()
   print(("the results is:", re))

