


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


UpperCAmelCase			=    logging.get_logger(__name__)

UpperCAmelCase			=    {
    """ZinengTang/tvlt-base""": """https://huggingface.co/ZinengTang/tvlt-base/blob/main/config.json""",
}







class lowerCAmelCase_						( lowerCamelCase__       ):

 '''simple docstring'''

 __snake_case												=  "tvlt"



 def __init__(	self		,      _UpperCAmelCase=2_24		,      _UpperCAmelCase=20_48		,      _UpperCAmelCase=1_28		,      _UpperCAmelCase=[16, 16]		,      _UpperCAmelCase=[16, 16]		,      _UpperCAmelCase=3		,      _UpperCAmelCase=1		,      _UpperCAmelCase=8		,      _UpperCAmelCase=7_68		,      _UpperCAmelCase=12		,      _UpperCAmelCase=12		,      _UpperCAmelCase=30_72		,      _UpperCAmelCase="gelu"		,      _UpperCAmelCase=0.0		,      _UpperCAmelCase=0.0		,      _UpperCAmelCase=0.02		,      _UpperCAmelCase=1E-6		,      _UpperCAmelCase=True		,      _UpperCAmelCase=False		,      _UpperCAmelCase=16		,      _UpperCAmelCase=5_12		,      _UpperCAmelCase=8		,      _UpperCAmelCase=20_48		,      _UpperCAmelCase=0.75		,      _UpperCAmelCase=0.15		,      _UpperCAmelCase="frame-level"		,      _UpperCAmelCase=True		,      _UpperCAmelCase=True		,      _UpperCAmelCase="classification"		,      **_UpperCAmelCase		,      ):
       super().__init__(**_UpperCAmelCase					)

       if audio_mask_type not in ("frame-level", "patch_level"):
             raise ValueError(
                 '''audio_mask_type must be one of two acceptable strategies - {\'frame_level\', \'patch-level\') '''
                 F'''got {audio_mask_type}'''					)

       snake_case_       =      image_size
       snake_case_       =      spectrogram_length
       snake_case_       =      frequency_length
       snake_case_       =      image_patch_size
       snake_case_       =      audio_patch_size
       snake_case_       =      num_image_channels
       snake_case_       =      num_audio_channels
       snake_case_       =      num_frames

       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_       =      qkv_bias
       snake_case_       =      use_mean_pooling

       snake_case_       =      decoder_num_attention_heads
       snake_case_       =      decoder_hidden_size
       snake_case_       =      decoder_num_hidden_layers
       snake_case_       =      decoder_intermediate_size
       snake_case_       =      pixel_mask_ratio
       snake_case_       =      audio_mask_ratio
       snake_case_       =      audio_mask_type

       snake_case_       =      task_matching
       snake_case_       =      task_mae
       snake_case_       =      loss_type



def        __lowerCAmelCase    (SCREAMING_SNAKE_CASE = 1000					)->  int:




      """simple docstring"""

      snake_case_       =      0
      snake_case_       =      (n - 1) // 3
      total += ((terms) * (6 + (terms - 1) * 3)) // 2  # total of an A.P.
      snake_case_       =      (n - 1) // 5
      total += ((terms) * (10 + (terms - 1) * 5)) // 2
      snake_case_       =      (n - 1) // 15
      total -= ((terms) * (30 + (terms - 1) * 15)) // 2
      return total


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