





from ..utils import DummyObject, requires_backends




class 				_lowerCamelCase (    metaclass=a    ):



      """simple docstring"""






      UpperCAmelCase_						:      List[str]       =["torch", "librosa"]







      def __init__( self				,						*UpperCAmelCase				,						**UpperCAmelCase   )       ->   int:






        '''simple docstring'''






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







      @classmethod
      def 						UpperCAmelCase		( cls				,						*UpperCAmelCase				,						**UpperCAmelCase   )       ->   List[str]:






        '''simple docstring'''






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







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






        '''simple docstring'''






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




class 				_lowerCamelCase (    metaclass=a    ):



      """simple docstring"""






      UpperCAmelCase_						:      Optional[Any]       =["torch", "librosa"]







      def __init__( self				,						*UpperCAmelCase				,						**UpperCAmelCase   )       ->   Union[str, Any]:






        '''simple docstring'''






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







      @classmethod
      def 						UpperCAmelCase		( cls				,						*UpperCAmelCase				,						**UpperCAmelCase   )       ->   List[str]:






        '''simple docstring'''






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







      @classmethod
      def 						UpperCAmelCase		( cls				,						*UpperCAmelCase				,						**UpperCAmelCase   )       ->   List[Any]:






        '''simple docstring'''






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








from typing import TYPE_CHECKING

from ...utils import OptionalDependencyNotAvailable, _LazyModule, is_torch_available


_UpperCamelCase       = {'''configuration_nat''': ['''NAT_PRETRAINED_CONFIG_ARCHIVE_MAP''', '''NatConfig''']}


try:
     if not is_torch_available():
          raise OptionalDependencyNotAvailable()
except OptionalDependencyNotAvailable:
     pass
else:
     _UpperCamelCase       = [
         '''NAT_PRETRAINED_MODEL_ARCHIVE_LIST''',
         '''NatForImageClassification''',
         '''NatModel''',
         '''NatPreTrainedModel''',
         '''NatBackbone''',
     ]

if TYPE_CHECKING:
     from .configuration_nat import NAT_PRETRAINED_CONFIG_ARCHIVE_MAP, NatConfig

     try:
          if not is_torch_available():
               raise OptionalDependencyNotAvailable()
     except OptionalDependencyNotAvailable:
          pass
     else:
          from .modeling_nat import (
              NAT_PRETRAINED_MODEL_ARCHIVE_LIST,
              NatBackbone,
              NatForImageClassification,
              NatModel,
              NatPreTrainedModel,
          )

else:
     import sys

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

