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


_A  =	logging.get_logger(__name__)

_A  =	{
    "caidas/swin2sr-classicalsr-x2-64": (
        "https://huggingface.co/caidas/swin2sr-classicalsr-x2-64/resolve/main/config.json"
    ),
}





class       _lowerCAmelCase   (      __a			):
				_lowercase     						='''swin2sr'''

				_lowercase     						={
				    '''hidden_size''': '''embed_dim''',
				    '''num_attention_heads''': '''num_heads''',
				    '''num_hidden_layers''': '''num_layers''',
				}




				def __init__(   self							,							_UpperCamelCase=64							,							_UpperCamelCase=1							,							_UpperCamelCase=3							,							_UpperCamelCase=180							,							_UpperCamelCase=[6, 6, 6, 6, 6, 6]							,							_UpperCamelCase=[6, 6, 6, 6, 6, 6]							,							_UpperCamelCase=8							,							_UpperCamelCase=2.0							,							_UpperCamelCase=True							,							_UpperCamelCase=0.0							,							_UpperCamelCase=0.0							,							_UpperCamelCase=0.1							,							_UpperCamelCase="gelu"							,							_UpperCamelCase=False							,							_UpperCamelCase=0.02							,							_UpperCamelCase=1e-5							,							_UpperCamelCase=2							,							_UpperCamelCase=1.0							,							_UpperCamelCase="1conv"							,							_UpperCamelCase="pixelshuffle"							,							**_UpperCamelCase							,							)							-> Optional[Any]:
							super().__init__(**_UpperCamelCase	)

							lowerCAmelCase_         =      image_size
							lowerCAmelCase_         =      patch_size
							lowerCAmelCase_         =      num_channels
							lowerCAmelCase_         =      embed_dim
							lowerCAmelCase_         =      depths
							lowerCAmelCase_         =      len(_UpperCamelCase	)
							lowerCAmelCase_         =      num_heads
							lowerCAmelCase_         =      window_size
							lowerCAmelCase_         =      mlp_ratio
							lowerCAmelCase_         =      qkv_bias
							lowerCAmelCase_         =      hidden_dropout_prob
							lowerCAmelCase_         =      attention_probs_dropout_prob
							lowerCAmelCase_         =      drop_path_rate
							lowerCAmelCase_         =      hidden_act
							lowerCAmelCase_         =      use_absolute_embeddings
							lowerCAmelCase_         =      layer_norm_eps
							lowerCAmelCase_         =      initializer_range
							lowerCAmelCase_         =      upscale
							lowerCAmelCase_         =      img_range
							lowerCAmelCase_         =      resi_connection
							lowerCAmelCase_         =      upsampler





from typing import List

import datasets
from datasets.tasks import AudioClassification

from ..folder_based_builder import folder_based_builder


_A  =	datasets.utils.logging.get_logger(__name__)





class       _lowerCAmelCase   (      folder_based_builder.FolderBasedBuilderConfig			):
				_lowercase     						=None
				_lowercase     						=None





class       _lowerCAmelCase   (      folder_based_builder.FolderBasedBuilder			):
				_lowercase     						=datasets.Audio()
				_lowercase     						='''audio'''
				_lowercase     						=AudioFolderConfig
				_lowercase     						=42  # definition at the bottom of the script
				_lowercase     						=AudioClassification(audio_column='''audio'''   , label_column='''label'''			)


_A  =	[
    ".aiff",
    ".au",
    ".avr",
    ".caf",
    ".flac",
    ".htk",
    ".svx",
    ".mat4",
    ".mat5",
    ".mpc2k",
    ".ogg",
    ".paf",
    ".pvf",
    ".raw",
    ".rf64",
    ".sd2",
    ".sds",
    ".ircam",
    ".voc",
    ".w64",
    ".wav",
    ".nist",
    ".wavex",
    ".wve",
    ".xi",
    ".mp3",
    ".opus",
]
_A  =	AUDIO_EXTENSIONS



