




"""simple docstring"""




from typing import TYPE_CHECKING

# rely on isort to merge the imports
from ...utils import OptionalDependencyNotAvailable, _LazyModule, is_torch_available


lowerCamelCase__			:       Any         =							{'configuration_focalnet': ['FOCALNET_PRETRAINED_CONFIG_ARCHIVE_MAP', 'FocalNetConfig']}


try:
   if not is_torch_available():
      raise OptionalDependencyNotAvailable()
except OptionalDependencyNotAvailable:
   pass
else:
   lowerCamelCase__			:       Tuple         =							[
       'FOCALNET_PRETRAINED_MODEL_ARCHIVE_LIST',
       'FocalNetForImageClassification',
       'FocalNetForMaskedImageModeling',
       'FocalNetBackbone',
       'FocalNetModel',
       'FocalNetPreTrainedModel',
   ]

if TYPE_CHECKING:
   from .configuration_focalnet import FOCALNET_PRETRAINED_CONFIG_ARCHIVE_MAP, FocalNetConfig

   try:
      if not is_torch_available():
         raise OptionalDependencyNotAvailable()
   except OptionalDependencyNotAvailable:
      pass
   else:
      from .modeling_focalnet import (
          FOCALNET_PRETRAINED_MODEL_ARCHIVE_LIST,
          FocalNetBackbone,
          FocalNetForImageClassification,
          FocalNetForMaskedImageModeling,
          FocalNetModel,
          FocalNetPreTrainedModel,
      )

else:
   import sys

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





import random
from typing import Any

def  UpperCAmelCase_							(				__UpperCAmelCase						:     list							) ->			list[Any]:
      for _ in range(len(__UpperCAmelCase							)							):
            SCREAMING_SNAKE_CASE_     						=      random.randint(0      ,      len(__UpperCAmelCase							) - 1							)
            SCREAMING_SNAKE_CASE_     						=      random.randint(0      ,      len(__UpperCAmelCase							) - 1							)
            SCREAMING_SNAKE_CASE_						,			SCREAMING_SNAKE_CASE_     						=      data[b], data[a]
      return data


if __name__ == "__main__":
   lowerCamelCase__			:       Union[str, Any]         =							[0, 1, 2, 3, 4, 5, 6, 7]
   lowerCamelCase__			:       Optional[int]         =							['python', 'says', 'hello', '!']
   print('Fisher-Yates Shuffle:')
   print('List', integers, strings)
   print('FY Shuffle', fisher_yates_shuffle(integers), fisher_yates_shuffle(strings))