






"""simple docstring"""





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


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

_SCREAMING_SNAKE_CASE					:				int					    =						{
    '''facebook/timesformer''': '''https://huggingface.co/facebook/timesformer/resolve/main/config.json''',
}






class      a						(					__snake_case		):
    SCREAMING_SNAKE_CASE						:     Optional[int]						= """timesformer"""






    def __init__(       self     :							List[str]       ,						__SCREAMING_SNAKE_CASE     :							int=224       ,						__SCREAMING_SNAKE_CASE     :							Union[str, Any]=16       ,						__SCREAMING_SNAKE_CASE     :							List[str]=3       ,						__SCREAMING_SNAKE_CASE     :							Any=8       ,						__SCREAMING_SNAKE_CASE     :							int=768       ,						__SCREAMING_SNAKE_CASE     :							int=12       ,						__SCREAMING_SNAKE_CASE     :							str=12       ,						__SCREAMING_SNAKE_CASE     :							Union[str, Any]=3072       ,						__SCREAMING_SNAKE_CASE     :							Any="gelu"       ,						__SCREAMING_SNAKE_CASE     :							Any=0.0       ,						__SCREAMING_SNAKE_CASE     :							str=0.0       ,						__SCREAMING_SNAKE_CASE     :							Any=0.02       ,						__SCREAMING_SNAKE_CASE     :							List[Any]=1e-6       ,						__SCREAMING_SNAKE_CASE     :							List[str]=True       ,						__SCREAMING_SNAKE_CASE     :							Optional[Any]="divided_space_time"       ,						__SCREAMING_SNAKE_CASE     :							List[Any]=0       ,						**__SCREAMING_SNAKE_CASE     :							int       ,						)     ->		Dict:
      super().__init__(**__SCREAMING_SNAKE_CASE					)

      lowerCamelCase_         =						image_size
      lowerCamelCase_         =						patch_size
      lowerCamelCase_         =						num_channels
      lowerCamelCase_         =						num_frames

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

      lowerCamelCase_         =						attention_type
      lowerCamelCase_         =						drop_path_rate












"""simple docstring"""





from __future__ import annotations







def      lowerCamelCase__       (							_lowerCamelCase       :		int )      ->				list[int]:
  lowerCamelCase_         =						[True] * limit
  lowerCamelCase_         =						False
  lowerCamelCase_         =						False
  lowerCamelCase_         =						True

  for i in range(3		,				int(limit**0.5 + 1 )		,				2 ):
    lowerCamelCase_         =						i * 2
    while index < limit:
      lowerCamelCase_         =						False
      lowerCamelCase_         =						index + i

  lowerCamelCase_         =						[2]

  for i in range(3		,				_lowerCamelCase		,				2 ):
    if is_prime[i]:
      primes.append(_lowerCamelCase )

  return primes







def      lowerCamelCase__       (							_lowerCamelCase       :		int = 1000000 )      ->				int:
  lowerCamelCase_         =						prime_sieve(_lowerCamelCase )
  lowerCamelCase_         =						0
  lowerCamelCase_         =						0

  for i in range(len(_lowerCamelCase ) ):
    for j in range(i + length		,				len(_lowerCamelCase ) ):
      lowerCamelCase_         =						sum(primes[i:j] )
      if sol >= ceiling:
        break

      if sol in primes:
        lowerCamelCase_         =						j - i
        lowerCamelCase_         =						sol

  return largest


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




