




from typing import TYPE_CHECKING

from ...utils import OptionalDependencyNotAvailable, _LazyModule, is_torch_available


lowerCamelCase__			:       List[Any]         =							{'configuration_wavlm': ['WAVLM_PRETRAINED_CONFIG_ARCHIVE_MAP', 'WavLMConfig']}

try:
   if not is_torch_available():
      raise OptionalDependencyNotAvailable()
except OptionalDependencyNotAvailable:
   pass
else:
   lowerCamelCase__			:       Optional[Any]         =							[
       'WAVLM_PRETRAINED_MODEL_ARCHIVE_LIST',
       'WavLMForAudioFrameClassification',
       'WavLMForCTC',
       'WavLMForSequenceClassification',
       'WavLMForXVector',
       'WavLMModel',
       'WavLMPreTrainedModel',
   ]

if TYPE_CHECKING:
   from .configuration_wavlm import WAVLM_PRETRAINED_CONFIG_ARCHIVE_MAP, WavLMConfig

   try:
      if not is_torch_available():
         raise OptionalDependencyNotAvailable()
   except OptionalDependencyNotAvailable:
      pass
   else:
      from .modeling_wavlm import (
          WAVLM_PRETRAINED_MODEL_ARCHIVE_LIST,
          WavLMForAudioFrameClassification,
          WavLMForCTC,
          WavLMForSequenceClassification,
          WavLMForXVector,
          WavLMModel,
          WavLMPreTrainedModel,
      )

else:
   import sys

   lowerCamelCase__			:       str         =							_LazyModule(__name__, globals()['__file__'], _import_structure, module_spec=__spec__)





def  UpperCAmelCase_							(				__UpperCAmelCase						:     int      ,      __UpperCAmelCase						:     int							) ->			int:
      return int((input_a, input_a).count(0							) != 0							)

def  UpperCAmelCase_							(				) ->			None:
      assert nand_gate(0      ,      0							) == 1
      assert nand_gate(0      ,      1							) == 1
      assert nand_gate(1      ,      0							) == 1
      assert nand_gate(1      ,      1							) == 0


if __name__ == "__main__":
   print(nand_gate(0, 0))
   print(nand_gate(0, 1))
   print(nand_gate(1, 0))
   print(nand_gate(1, 1))