


'''simple docstring'''




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


_a   :   str												=   logging.get_logger(__name__)

_a   :   int												=   {
    "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 			_lowercase (	__lowercase							):
   _SCREAMING_SNAKE_CASE  :  List[str]          =	"vivit"
   def __init__(						self       :      Union[str, Any]       ,   SCREAMING_SNAKE_CASE_       :      Optional[Any]=224       ,   SCREAMING_SNAKE_CASE_       :      List[str]=32       ,   SCREAMING_SNAKE_CASE_       :      List[Any]=[2, 16, 16]       ,   SCREAMING_SNAKE_CASE_       :      Optional[int]=3       ,   SCREAMING_SNAKE_CASE_       :      List[Any]=768       ,   SCREAMING_SNAKE_CASE_       :      Any=12       ,   SCREAMING_SNAKE_CASE_       :      Union[str, Any]=12       ,   SCREAMING_SNAKE_CASE_       :      Optional[Any]=3072       ,   SCREAMING_SNAKE_CASE_       :      List[str]="gelu_fast"       ,   SCREAMING_SNAKE_CASE_       :      Any=0.0       ,   SCREAMING_SNAKE_CASE_       :      int=0.0       ,   SCREAMING_SNAKE_CASE_       :      int=0.0_2       ,   SCREAMING_SNAKE_CASE_       :      List[Any]=1e-06       ,   SCREAMING_SNAKE_CASE_       :      int=True       ,   **SCREAMING_SNAKE_CASE_       :      Optional[int]       ,   ) ->							Optional[int]:
        __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__(**SCREAMING_SNAKE_CASE_      )






"""simple docstring"""



from itertools import permutations
def 					lowerCamelCase   (     _snake_case ):
    if num[3] % 2 != 0:
        return False

    if (num[2] + num[3] + num[4]) % 3 != 0:
        return False

    if num[5] % 5 != 0:
        return False

    UpperCAmelCase__	:      List[str]     							=					[7, 11, 13, 17]
    for i, test in enumerate(_snake_case ):
        if (num[i + 4] * 100 + num[i + 5] * 10 + num[i + 6]) % test != 0:
            return False
    return True
def 					lowerCamelCase   (     _snake_case = 10 ):
    return sum(
        int(''.join(map(_snake_case    ,_snake_case ) ) )
        for num in permutations(range(_snake_case ) )
        if is_substring_divisible(_snake_case ) )


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

