






"""simple docstring"""





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 		_a       (						lowercase_   ):





   '''simple docstring'''






   UpperCamelCase__      					=    """tvlt"""





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




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

          lowercase__:    Any        =      image_size
          lowercase__:    Tuple        =      spectrogram_length
          lowercase__:    Any        =      frequency_length
          lowercase__:    List[Any]        =      image_patch_size
          lowercase__:    int        =      audio_patch_size
          lowercase__:    Any        =      num_image_channels
          lowercase__:    Optional[int]        =      num_audio_channels
          lowercase__:    List[str]        =      num_frames

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

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

          lowercase__:    Any        =      task_matching
          lowercase__:    Union[str, Any]        =      task_mae
          lowercase__:    str        =      loss_type














"""simple docstring"""





def     A(  snake_case_						,       snake_case_		):
       """simple docstring"""





       assert isinstance(snake_case_						,       snake_case_		), F"""The input value of [set_a={set_a}] is not a set"""
       assert isinstance(snake_case_						,       snake_case_		), 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()






