



from typing import TYPE_CHECKING

from ...utils import OptionalDependencyNotAvailable, _LazyModule, is_torch_available


_lowerCAmelCase	:   Dict    =   {
    "configuration_swinv2": ["SWINV2_PRETRAINED_CONFIG_ARCHIVE_MAP", "Swinv2Config"],
}


try:
	if not is_torch_available():
		raise OptionalDependencyNotAvailable()
except OptionalDependencyNotAvailable:
	pass
else:
	_lowerCAmelCase	:   List[Any]    =   [
	    "SWINV2_PRETRAINED_MODEL_ARCHIVE_LIST",
	    "Swinv2ForImageClassification",
	    "Swinv2ForMaskedImageModeling",
	    "Swinv2Model",
	    "Swinv2PreTrainedModel",
	]


if TYPE_CHECKING:
	from .configuration_swinva import SWINV2_PRETRAINED_CONFIG_ARCHIVE_MAP, SwinvaConfig

	try:
		if not is_torch_available():
			raise OptionalDependencyNotAvailable()
	except OptionalDependencyNotAvailable:
		pass
	else:
		from .modeling_swinva import (
		    SWINV2_PRETRAINED_MODEL_ARCHIVE_LIST,
		    SwinvaForImageClassification,
		    SwinvaForMaskedImageModeling,
		    SwinvaModel,
		    SwinvaPreTrainedModel,
		)


else:
	import sys

	_lowerCAmelCase	:   Any    =   _LazyModule(__name__, globals()["__file__"], _import_structure, module_spec=__spec__)





import random
from typing import Any







def     UpperCAmelCase_		(					snake_case__					)	->     list[Any]:



				"""simple docstring"""





				for _ in range(len(snake_case__					)					):
								lowerCAmelCase__		  =  random.randint(0    ,			len(snake_case__					) - 1					)
								lowerCAmelCase__		  =  random.randint(0    ,			len(snake_case__					) - 1					)
								lowerCAmelCase__  ,   lowerCAmelCase__		  =  data[b], data[a]
				return data


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