






from typing import TYPE_CHECKING

from ...utils import OptionalDependencyNotAvailable, _LazyModule, is_torch_available, is_vision_available


__magic_name__:  Dict  	=			{
    "configuration_swin2sr": ["SWIN2SR_PRETRAINED_CONFIG_ARCHIVE_MAP", "Swin2SRConfig"],
}


try:
		if not is_torch_available():
				raise OptionalDependencyNotAvailable()
except OptionalDependencyNotAvailable:
		pass
else:
		__magic_name__:  Any  	=			[
		    "SWIN2SR_PRETRAINED_MODEL_ARCHIVE_LIST",
		    "Swin2SRForImageSuperResolution",
		    "Swin2SRModel",
		    "Swin2SRPreTrainedModel",
		]


try:
		if not is_vision_available():
				raise OptionalDependencyNotAvailable()
except OptionalDependencyNotAvailable:
		pass
else:
		__magic_name__:  int  	=			["Swin2SRImageProcessor"]


if TYPE_CHECKING:
		from .configuration_swinasr import SWIN2SR_PRETRAINED_CONFIG_ARCHIVE_MAP, SwinaSRConfig

		try:
				if not is_torch_available():
						raise OptionalDependencyNotAvailable()
		except OptionalDependencyNotAvailable:
				pass
		else:
				from .modeling_swinasr import (
				    SWIN2SR_PRETRAINED_MODEL_ARCHIVE_LIST,
				    SwinaSRForImageSuperResolution,
				    SwinaSRModel,
				    SwinaSRPreTrainedModel,
				)

		try:
				if not is_vision_available():
						raise OptionalDependencyNotAvailable()
		except OptionalDependencyNotAvailable:
				pass
		else:
				from .image_processing_swinasr import SwinaSRImageProcessor


else:
		import sys

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








def 					UpperCamelCase		( _A				):






						"""simple docstring"""







						return 1 if input_a == 0 else 0

def 					UpperCamelCase		( ):






						"""simple docstring"""







						assert not_gate(0				) == 1
						assert not_gate(1				) == 0


if __name__ == "__main__":
		print(not_gate(0))
		print(not_gate(1))
