




"""simple docstring"""

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


__A							=     logging.get_logger(__name__)

__A							=     {
    'ZinengTang/tvlt-base': 'https://huggingface.co/ZinengTang/tvlt-base/blob/main/config.json',
}
class      lowerCamelCase__      (					lowerCAmelCase__     ):
			a__	: Any        =       """tvlt"""


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



					"""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}'''							)

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

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

					snake_case						:  Dict        =			decoder_num_attention_heads
					snake_case						:  Optional[Any]        =			decoder_hidden_size
					snake_case						:  Any        =			decoder_num_hidden_layers
					snake_case						:  Tuple        =			decoder_intermediate_size
					snake_case						:  Optional[Any]        =			pixel_mask_ratio
					snake_case						:  Union[str, Any]        =			audio_mask_ratio
					snake_case						:  Any        =			audio_mask_type

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







"""simple docstring"""

def 					UpperCamelCase__       (						lowercase__					:       set    ,       lowercase__					:       set				):
		assert isinstance(lowercase__    ,       lowercase__				), F'''The input value of [set_a={set_a}] is not a set'''
		assert isinstance(lowercase__    ,       lowercase__				), F'''The input value of [set_b={set_b}] is not a set'''

		return {a + b for a in set_a for b in set_b}


if __name__ == "__main__":
							from doctest import testmod

							testmod()

