





'''simple docstring'''

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


lowerCAmelCase__	:					List[str]	     =       logging.get_logger(__name__)

lowerCAmelCase__	:					str	     =       {
    'ZinengTang/tvlt-base': 'https://huggingface.co/ZinengTang/tvlt-base/blob/main/config.json',
}


class 			SCREAMING_SNAKE_CASE__	(					snake_case__						):







					"""simple docstring"""






					SCREAMING_SNAKE_CASE				=     '''tvlt'''
					def __init__(					self    :	List[Any]						,     UpperCAmelCase_    :	int=224						,     UpperCAmelCase_    :	Tuple=2_048						,     UpperCAmelCase_    :	Dict=128						,     UpperCAmelCase_    :	List[str]=[16, 16]						,     UpperCAmelCase_    :	Union[str, Any]=[16, 16]						,     UpperCAmelCase_    :	int=3						,     UpperCAmelCase_    :	str=1						,     UpperCAmelCase_    :	Dict=8						,     UpperCAmelCase_    :	List[str]=768						,     UpperCAmelCase_    :	List[str]=12						,     UpperCAmelCase_    :	List[Any]=12						,     UpperCAmelCase_    :	Tuple=3_072						,     UpperCAmelCase_    :	List[Any]="gelu"						,     UpperCAmelCase_    :	str=0.0						,     UpperCAmelCase_    :	Any=0.0						,     UpperCAmelCase_    :	Union[str, Any]=0.02						,     UpperCAmelCase_    :	Optional[Any]=1e-6						,     UpperCAmelCase_    :	List[Any]=True						,     UpperCAmelCase_    :	str=False						,     UpperCAmelCase_    :	List[str]=16						,     UpperCAmelCase_    :	str=512						,     UpperCAmelCase_    :	str=8						,     UpperCAmelCase_    :	Optional[int]=2_048						,     UpperCAmelCase_    :	int=0.75						,     UpperCAmelCase_    :	int=0.15						,     UpperCAmelCase_    :	List[Any]="frame-level"						,     UpperCAmelCase_    :	Tuple=True						,     UpperCAmelCase_    :	Union[str, Any]=True						,     UpperCAmelCase_    :	Tuple="classification"						,     **UpperCAmelCase_    :	Tuple						,     ):







							"""simple docstring"""
							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}"						)

							__UpperCAmelCase     :				Optional[int]					   =			image_size
							__UpperCAmelCase     :				Any					   =			spectrogram_length
							__UpperCAmelCase     :				Dict					   =			frequency_length
							__UpperCAmelCase     :				Union[str, Any]					   =			image_patch_size
							__UpperCAmelCase     :				List[str]					   =			audio_patch_size
							__UpperCAmelCase     :				Union[str, Any]					   =			num_image_channels
							__UpperCAmelCase     :				str					   =			num_audio_channels
							__UpperCAmelCase     :				str					   =			num_frames

							__UpperCAmelCase     :				str					   =			hidden_size
							__UpperCAmelCase     :				Union[str, Any]					   =			num_hidden_layers
							__UpperCAmelCase     :				Union[str, Any]					   =			num_attention_heads
							__UpperCAmelCase     :				int					   =			intermediate_size
							__UpperCAmelCase     :				Any					   =			hidden_act
							__UpperCAmelCase     :				Tuple					   =			hidden_dropout_prob
							__UpperCAmelCase     :				Optional[int]					   =			attention_probs_dropout_prob
							__UpperCAmelCase     :				List[Any]					   =			initializer_range
							__UpperCAmelCase     :				Tuple					   =			layer_norm_eps
							__UpperCAmelCase     :				Dict					   =			qkv_bias
							__UpperCAmelCase     :				Any					   =			use_mean_pooling

							__UpperCAmelCase     :				Dict					   =			decoder_num_attention_heads
							__UpperCAmelCase     :				int					   =			decoder_hidden_size
							__UpperCAmelCase     :				Union[str, Any]					   =			decoder_num_hidden_layers
							__UpperCAmelCase     :				Tuple					   =			decoder_intermediate_size
							__UpperCAmelCase     :				List[str]					   =			pixel_mask_ratio
							__UpperCAmelCase     :				Tuple					   =			audio_mask_ratio
							__UpperCAmelCase     :				List[Any]					   =			audio_mask_type

							__UpperCAmelCase     :				Union[str, Any]					   =			task_matching
							__UpperCAmelCase     :				Optional[Any]					   =			task_mae
							__UpperCAmelCase     :				List[str]					   =			loss_type












"""simple docstring"""


def 			snake_case  (A_      :int = 1_0_0_0      ):







  '''simple docstring'''

  a     :			Union[str, Any]				=   0
  a     :			int				=   (n - 1) // 3
  total += ((terms) * (6 + (terms - 1) * 3)) // 2  # total of an A.P.
  a     :			Tuple				=   (n - 1) // 5
  total += ((terms) * (1_0 + (terms - 1) * 5)) // 2
  a     :			Dict				=   (n - 1) // 1_5
  total -= ((terms) * (3_0 + (terms - 1) * 1_5)) // 2
  return total


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




