
"""simple docstring"""


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


_lowercase							      = logging.get_logger(__name__)

_lowercase							      = {
    '''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			):



						'''simple docstring'''


						_lowerCamelCase:			Dict					=			'''vivit'''


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

							A        =      image_size
							A        =      num_frames
							A        =      tubelet_size
							A        =      num_channels
							A        =      qkv_bias

							super().__init__(**A_					)
def    a__       (						__UpperCamelCase = 1_0_0_0 ):
      SCREAMING_SNAKE_CASE_      =     -1
      SCREAMING_SNAKE_CASE_      =     0
      for a in range(1   ,					n // 3 ):
            # Solving the two equations a**2+b**2=c**2 and a+b+c=N eliminating c
            SCREAMING_SNAKE_CASE_      =     (n * n - 2 * a * n) // (2 * n - 2 * a)
            SCREAMING_SNAKE_CASE_      =     n - a - b
            if c * c == (a * a + b * b):
                  SCREAMING_SNAKE_CASE_      =     a * b * c
                  if candidate >= product:
                        SCREAMING_SNAKE_CASE_      =     candidate
      return product


if __name__ == "__main__":
      print(f"{solution() = }")


