

class 	UpperCAmelCase__		:






  """simple docstring"""


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







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


if __name__ == "__main__":
   _SCREAMING_SNAKE_CASE					:  Optional[int]             =      input('''please input some numbers:''')
   _SCREAMING_SNAKE_CASE					:  Tuple             =      SubArray(whole_array)
   _SCREAMING_SNAKE_CASE					:  Union[str, Any]             =      array.solve_sub_array()
   print(('''the results is:''', re))





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


_SCREAMING_SNAKE_CASE					:  Any             =      logging.get_logger(__name__)

_SCREAMING_SNAKE_CASE					:  Optional[Any]             =      {
    '''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 	UpperCAmelCase__		(	A__	):






  """simple docstring"""


  a									= "vivit"






  def __init__(							self						:		str     ,       __lowerCamelCase						:		List[Any]=224     ,       __lowerCamelCase						:		Optional[int]=32     ,       __lowerCamelCase						:		Tuple=[2, 16, 16]     ,       __lowerCamelCase						:		Union[str, Any]=3     ,       __lowerCamelCase						:		Optional[Any]=768     ,       __lowerCamelCase						:		Any=12     ,       __lowerCamelCase						:		Optional[Any]=12     ,       __lowerCamelCase						:		List[str]=3072     ,       __lowerCamelCase						:		Any="gelu_fast"     ,       __lowerCamelCase						:		Union[str, Any]=0.0     ,       __lowerCamelCase						:		int=0.0     ,       __lowerCamelCase						:		str=0.02     ,       __lowerCamelCase						:		Any=1e-06     ,       __lowerCamelCase						:		Dict=True     ,       **__lowerCamelCase						:		Any     ,       )		->							List[str]:
       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 )


