
from typing import TYPE_CHECKING

from ...utils import OptionalDependencyNotAvailable, _LazyModule, is_torch_available


SCREAMING_SNAKE_CASE__     :    List[Any]      							=					{"configuration_sew_d": ["SEW_D_PRETRAINED_CONFIG_ARCHIVE_MAP", "SEWDConfig"]}

try:
					if not is_torch_available():
										raise OptionalDependencyNotAvailable()
except OptionalDependencyNotAvailable:
					pass
else:
					SCREAMING_SNAKE_CASE__     :    Tuple      							=					[
					    "SEW_D_PRETRAINED_MODEL_ARCHIVE_LIST",
					    "SEWDForCTC",
					    "SEWDForSequenceClassification",
					    "SEWDModel",
					    "SEWDPreTrainedModel",
					]

if TYPE_CHECKING:
					from .configuration_sew_d import SEW_D_PRETRAINED_CONFIG_ARCHIVE_MAP, SEWDConfig

					try:
										if not is_torch_available():
															raise OptionalDependencyNotAvailable()
					except OptionalDependencyNotAvailable:
										pass
					else:
										from .modeling_sew_d import (
										    SEW_D_PRETRAINED_MODEL_ARCHIVE_LIST,
										    SEWDForCTC,
										    SEWDForSequenceClassification,
										    SEWDModel,
										    SEWDPreTrainedModel,
										)


else:
					import sys

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





from ..utils import requires_backends


SCREAMING_SNAKE_CASE__     :    Union[str, Any]      							=					None

class      lowerCAmelCase__  :






		def __init__(	self	:							int							,    *SCREAMING_SNAKE_CASE__	:							Dict							,    **SCREAMING_SNAKE_CASE__	:							Tuple						)  ->							Optional[Any]:
						requires_backends(self							,    ['''detectron2''']						)







		@classmethod
		def 				__A (	cls	:							Dict							,    *SCREAMING_SNAKE_CASE__	:							Dict							,    **SCREAMING_SNAKE_CASE__	:							Tuple						)  ->							Tuple:
						requires_backends(cls							,    ['''detectron2''']						)



