





from ..utils import DummyObject, requires_backends



class       __lowerCAmelCase (    metaclass=UpperCAmelCase_  ):
			lowerCamelCase_  :  Dict     =   ['''torch''', '''librosa''']






			def __init__(self      ,							*__magic_name__      ,							**__magic_name__					)  ->     Optional[int]:


							'''simple docstring'''



							requires_backends(self      ,							['''torch''', '''librosa''']					)






			@classmethod
			def     lowerCamelCase						(cls      ,							*__magic_name__      ,							**__magic_name__					)  ->     int:


							'''simple docstring'''



							requires_backends(cls      ,							['''torch''', '''librosa''']					)






			@classmethod
			def     lowerCamelCase						(cls      ,							*__magic_name__      ,							**__magic_name__					)  ->     Dict:


							'''simple docstring'''



							requires_backends(cls      ,							['''torch''', '''librosa''']					)




class       __lowerCAmelCase (    metaclass=UpperCAmelCase_  ):
			lowerCamelCase_  :  List[Any]     =   ['''torch''', '''librosa''']






			def __init__(self      ,							*__magic_name__      ,							**__magic_name__					)  ->     str:


							'''simple docstring'''



							requires_backends(self      ,							['''torch''', '''librosa''']					)






			@classmethod
			def     lowerCamelCase						(cls      ,							*__magic_name__      ,							**__magic_name__					)  ->     Optional[Any]:


							'''simple docstring'''



							requires_backends(cls      ,							['''torch''', '''librosa''']					)






			@classmethod
			def     lowerCamelCase						(cls      ,							*__magic_name__      ,							**__magic_name__					)  ->     Tuple:


							'''simple docstring'''



							requires_backends(cls      ,							['''torch''', '''librosa''']					)









from typing import TYPE_CHECKING

from ...utils import OptionalDependencyNotAvailable, _LazyModule, is_torch_available


lowerCAmelCase_												=       {'''configuration_dinat''': ['''DINAT_PRETRAINED_CONFIG_ARCHIVE_MAP''', '''DinatConfig''']}


try:
	if not is_torch_available():
		raise OptionalDependencyNotAvailable()
except OptionalDependencyNotAvailable:
	pass
else:
	lowerCAmelCase_												=       [
	    '''DINAT_PRETRAINED_MODEL_ARCHIVE_LIST''',
	    '''DinatForImageClassification''',
	    '''DinatModel''',
	    '''DinatPreTrainedModel''',
	    '''DinatBackbone''',
	]

if TYPE_CHECKING:
	from .configuration_dinat import DINAT_PRETRAINED_CONFIG_ARCHIVE_MAP, DinatConfig

	try:
		if not is_torch_available():
			raise OptionalDependencyNotAvailable()
	except OptionalDependencyNotAvailable:
		pass
	else:
		from .modeling_dinat import (
		    DINAT_PRETRAINED_MODEL_ARCHIVE_LIST,
		    DinatBackbone,
		    DinatForImageClassification,
		    DinatModel,
		    DinatPreTrainedModel,
		)

else:
	import sys

	lowerCAmelCase_												=       _LazyModule(__name__, globals()['''__file__'''], _import_structure, module_spec=__spec__)
