






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


A_			:str	    =		logging.get_logger(__name__)

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




class 							__A	(     a					):





				"""simple docstring"""







				UpperCamelCase__					: str     					="""tvlt"""


				def __init__(					self				,    lowerCamelCase__=224				,    lowerCamelCase__=2048				,    lowerCamelCase__=128				,    lowerCamelCase__=[16, 16]				,    lowerCamelCase__=[16, 16]				,    lowerCamelCase__=3				,    lowerCamelCase__=1				,    lowerCamelCase__=8				,    lowerCamelCase__=768				,    lowerCamelCase__=12				,    lowerCamelCase__=12				,    lowerCamelCase__=3072				,    lowerCamelCase__="gelu"				,    lowerCamelCase__=0.0				,    lowerCamelCase__=0.0				,    lowerCamelCase__=0.02				,    lowerCamelCase__=1E-6				,    lowerCamelCase__=True				,    lowerCamelCase__=False				,    lowerCamelCase__=16				,    lowerCamelCase__=512				,    lowerCamelCase__=8				,    lowerCamelCase__=2048				,    lowerCamelCase__=0.75				,    lowerCamelCase__=0.15				,    lowerCamelCase__="frame-level"				,    lowerCamelCase__=True				,    lowerCamelCase__=True				,    lowerCamelCase__="classification"				,    **lowerCamelCase__				,    ):




									"""simple docstring"""

									super().__init__(**lowerCamelCase__       )

									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 :   Tuple									=image_size
									__UpperCamelCase :   Tuple									=spectrogram_length
									__UpperCamelCase :   str									=frequency_length
									__UpperCamelCase :   Optional[Any]									=image_patch_size
									__UpperCamelCase :   List[Any]									=audio_patch_size
									__UpperCamelCase :   List[str]									=num_image_channels
									__UpperCamelCase :   int									=num_audio_channels
									__UpperCamelCase :   int									=num_frames

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

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

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









from typing import Callable






def 				A	(			a_   )	->		List[str]:

					def wrapper(a_   ):
										__UpperCamelCase :   Dict									=function_with_docstring.__doc__
										return target_function

					return wrapper

