


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


__a     =			logging.get_logger(__name__)

__a     =			{
    """facebook/timesformer""": """https://huggingface.co/facebook/timesformer/resolve/main/config.json""",
}






class   __lowercase				(  __snake_case  ):
  UpperCamelCase								=       '''timesformer'''





  def __init__(		self						:					Union[str, Any]					,       __lowerCamelCase						:					Any=2_2_4					,       __lowerCamelCase						:					Optional[Any]=1_6					,       __lowerCamelCase						:					int=3					,       __lowerCamelCase						:					Dict=8					,       __lowerCamelCase						:					Dict=7_6_8					,       __lowerCamelCase						:					int=1_2					,       __lowerCamelCase						:					Any=1_2					,       __lowerCamelCase						:					Dict=3_0_7_2					,       __lowerCamelCase						:					List[str]="gelu"					,       __lowerCamelCase						:					Any=0.0					,       __lowerCamelCase						:					Dict=0.0					,       __lowerCamelCase						:					Dict=0.02					,       __lowerCamelCase						:					int=1e-6					,       __lowerCamelCase						:					Tuple=True					,       __lowerCamelCase						:					List[Any]="divided_space_time"					,       __lowerCamelCase						:					str=0					,       **__lowerCamelCase						:					str					,       )    ->   str:






     """simple docstring"""







     super().__init__(**__lowerCamelCase       )

     UpperCAmelCase							=     image_size
     UpperCAmelCase							=     patch_size
     UpperCAmelCase							=     num_channels
     UpperCAmelCase							=     num_frames

     UpperCAmelCase							=     hidden_size
     UpperCAmelCase							=     num_hidden_layers
     UpperCAmelCase							=     num_attention_heads
     UpperCAmelCase							=     intermediate_size
     UpperCAmelCase							=     hidden_act
     UpperCAmelCase							=     hidden_dropout_prob
     UpperCAmelCase							=     attention_probs_dropout_prob
     UpperCAmelCase							=     initializer_range
     UpperCAmelCase							=     layer_norm_eps
     UpperCAmelCase							=     qkv_bias

     UpperCAmelCase							=     attention_type
     UpperCAmelCase							=     drop_path_rate







from math import isqrt
def   _UpperCamelCase				(						lowerCAmelCase_   )						->bool:
   return all(number % divisor != 0 for divisor in range(2  ,						isqrt(lowerCAmelCase_   ) + 1   )   )
def   _UpperCamelCase				(						lowerCAmelCase_ = 1_0**6   )						->int:
   UpperCAmelCase							=     0
   UpperCAmelCase							=     1
   UpperCAmelCase							=     7
   while prime_candidate < max_prime:
      primes_count += is_prime(lowerCAmelCase_   )

      cube_index += 1
      prime_candidate += 6 * cube_index

   return primes_count


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



