






from typing import TYPE_CHECKING

from ...utils import (
    OptionalDependencyNotAvailable,
    _LazyModule,
    is_flax_available,
    is_tf_available,
    is_torch_available,
)


snake_case_   :	Tuple							      ={
    '''configuration_unispeech_sat''': ['''UNISPEECH_SAT_PRETRAINED_CONFIG_ARCHIVE_MAP''', '''UniSpeechSatConfig'''],
}

try:
					if not is_torch_available():
										raise OptionalDependencyNotAvailable()
except OptionalDependencyNotAvailable:
					pass
else:
					snake_case_   :	Union[str, Any]							      =[
					    '''UNISPEECH_SAT_PRETRAINED_MODEL_ARCHIVE_LIST''',
					    '''UniSpeechSatForAudioFrameClassification''',
					    '''UniSpeechSatForCTC''',
					    '''UniSpeechSatForPreTraining''',
					    '''UniSpeechSatForSequenceClassification''',
					    '''UniSpeechSatForXVector''',
					    '''UniSpeechSatModel''',
					    '''UniSpeechSatPreTrainedModel''',
					]

if TYPE_CHECKING:
					from .configuration_unispeech_sat import UNISPEECH_SAT_PRETRAINED_CONFIG_ARCHIVE_MAP, UniSpeechSatConfig

					try:
										if not is_torch_available():
															raise OptionalDependencyNotAvailable()
					except OptionalDependencyNotAvailable:
										pass
					else:
										from .modeling_unispeech_sat import (
										    UNISPEECH_SAT_PRETRAINED_MODEL_ARCHIVE_LIST,
										    UniSpeechSatForAudioFrameClassification,
										    UniSpeechSatForCTC,
										    UniSpeechSatForPreTraining,
										    UniSpeechSatForSequenceClassification,
										    UniSpeechSatForXVector,
										    UniSpeechSatModel,
										    UniSpeechSatPreTrainedModel,
										)

else:
					import sys

					snake_case_   :	int							      =_LazyModule(__name__, globals()['''__file__'''], _import_structure, module_spec=__spec__)









"""simple docstring"""


from __future__ import annotations




def      snake_case    (A_ :int ):







  '''simple docstring'''

  assert (
      isinstance(A_      ,     A_ ) and mask > 0
  ), f'''mask needs to be positive integer, your input {mask}'''
  a	:     Any							=  []
  a	:     Union[str, Any]							=  mask

  while submask:
    all_submasks.append(A_ )
    a	:     Any							=  (submask - 1) & mask

  return all_submasks


if __name__ == "__main__":
   import doctest

   doctest.testmod()




