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


__lowerCAmelCase     :	Optional[int]       			=  logging.get_logger(__name__)

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







    """simple docstring"""






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

    __magic_name__								=			image_size
    __magic_name__								=			num_frames
    __magic_name__								=			tubelet_size
    __magic_name__								=			num_channels
    __magic_name__								=			qkv_bias

    super().__init__(**UpperCamelCase__       )



from maths.is_square_free import is_square_free
from maths.prime_factors import prime_factors

def a__       (			A_   ):






  '''simple docstring'''





  __magic_name__								=			prime_factors(A_   )
  if is_square_free(A_   ):
    return -1 if len(A_   ) % 2 else 1
  return 0


if __name__ == "__main__":
    import doctest

    doctest.testmod()

