"""simple docstring"""







from ..utils import DummyObject, requires_backends


class      _lowercase						(				metaclass=UpperCamelCase_					):
				lowerCamelCase__									=    ['torch', 'librosa']

				def __init__(       self    :      List[Any]    ,      *_lowercase    :      Tuple    ,      **_lowercase    :      Optional[int]       ):


										'''simple docstring'''
										requires_backends(self    ,      ["""torch""", """librosa"""]       )

				@classmethod
				def     A	(       cls    :      List[str]    ,      *_lowercase    :      Optional[Any]    ,      **_lowercase    :      List[str]       ):


										'''simple docstring'''
										requires_backends(cls    ,      ["""torch""", """librosa"""]       )

				@classmethod
				def     A	(       cls    :      str    ,      *_lowercase    :      List[Any]    ,      **_lowercase    :      int       ):


										'''simple docstring'''
										requires_backends(cls    ,      ["""torch""", """librosa"""]       )


class      _lowercase						(				metaclass=UpperCamelCase_					):
				lowerCamelCase__									=    ['torch', 'librosa']

				def __init__(       self    :      Optional[Any]    ,      *_lowercase    :      str    ,      **_lowercase    :      List[str]       ):


										'''simple docstring'''
										requires_backends(self    ,      ["""torch""", """librosa"""]       )

				@classmethod
				def     A	(       cls    :      str    ,      *_lowercase    :      Optional[int]    ,      **_lowercase    :      int       ):


										'''simple docstring'''
										requires_backends(cls    ,      ["""torch""", """librosa"""]       )

				@classmethod
				def     A	(       cls    :      Optional[Any]    ,      *_lowercase    :      str    ,      **_lowercase    :      int       ):


										'''simple docstring'''
										requires_backends(cls    ,      ["""torch""", """librosa"""]       )


"""simple docstring"""







from __future__ import annotations


def 					a__ (						UpperCAmelCase__    :     int     )->		list[int]:
						assert (
						    isinstance(UpperCAmelCase__						,     UpperCAmelCase__     ) and mask > 0
						), f'mask needs to be positive integer, your input {mask}'
						UpperCAmelCase__   		=						[]
						UpperCAmelCase__   		=						mask

						while submask:
												all_submasks.append(UpperCAmelCase__     )
												UpperCAmelCase__   		=						(submask - 1) & mask

						return all_submasks


if __name__ == "__main__":
						import doctest

						doctest.testmod()

