





from __future__ import annotations

from typing import Any

def 				SCREAMING_SNAKE_CASE__							(	snake_case__	:list[Any]  )   ->    None:
  create_state_space_tree(snake_case__      ,				[]      ,				0  )

def 				SCREAMING_SNAKE_CASE__							(	snake_case__	:list[Any]      ,				snake_case__	:list[Any]      ,				snake_case__	:int  )   ->    None:

  if index == len(snake_case__  ):
    print(snake_case__  )
    return

  create_state_space_tree(snake_case__      ,				snake_case__      ,				index + 1  )
  current_subsequence.append(sequence[index]  )
  create_state_space_tree(snake_case__      ,				snake_case__      ,				index + 1  )
  current_subsequence.pop()


if __name__ == "__main__":
      snake_case								=							[3, 1, 2, 4]
      generate_all_subsequences(seq)

      seq.clear()
      seq.extend(["""A""", """B""", """C"""])
      generate_all_subsequences(seq)
"""simple docstring"""


from typing import TYPE_CHECKING

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


UpperCAmelCase__			=    {"""configuration_vit_mae""": ["""VIT_MAE_PRETRAINED_CONFIG_ARCHIVE_MAP""", """ViTMAEConfig"""]}

try:
    if not is_torch_available():
        raise OptionalDependencyNotAvailable()
except OptionalDependencyNotAvailable:
    pass
else:
    UpperCAmelCase__			=    [
        """VIT_MAE_PRETRAINED_MODEL_ARCHIVE_LIST""",
        """ViTMAEForPreTraining""",
        """ViTMAELayer""",
        """ViTMAEModel""",
        """ViTMAEPreTrainedModel""",
    ]

try:
    if not is_tf_available():
        raise OptionalDependencyNotAvailable()
except OptionalDependencyNotAvailable:
    pass
else:
    UpperCAmelCase__			=    [
        """TFViTMAEForPreTraining""",
        """TFViTMAEModel""",
        """TFViTMAEPreTrainedModel""",
    ]

if TYPE_CHECKING:
    from .configuration_vit_mae import VIT_MAE_PRETRAINED_CONFIG_ARCHIVE_MAP, ViTMAEConfig

    try:
        if not is_torch_available():
            raise OptionalDependencyNotAvailable()
    except OptionalDependencyNotAvailable:
        pass
    else:
        from .modeling_vit_mae import (
            VIT_MAE_PRETRAINED_MODEL_ARCHIVE_LIST,
            ViTMAEForPreTraining,
            ViTMAELayer,
            ViTMAEModel,
            ViTMAEPreTrainedModel,
        )

    try:
        if not is_tf_available():
            raise OptionalDependencyNotAvailable()
    except OptionalDependencyNotAvailable:
        pass
    else:
        from .modeling_tf_vit_mae import TFViTMAEForPreTraining, TFViTMAEModel, TFViTMAEPreTrainedModel


else:
    import sys

    UpperCAmelCase__			=    _LazyModule(__name__, globals()["""__file__"""], _import_structure, module_spec=__spec__)
