"""simple docstring"""



from ..utils import DummyObject, requires_backends



class      _A	(						metaclass=_UpperCAmelCase					):




    """simple docstring"""




    UpperCamelCase_	:					Union[str, Any]							=					['''torch''', '''transformers''', '''onnx''']
    def __init__(		self							:     Optional[Any]	,      *A_							:     Any	,      **A_							:     str    )    ->       List[str]:
         requires_backends(self	,      ['''torch''', '''transformers''', '''onnx''']    )
    @classmethod
    def  lowercase					(		cls							:     List[str]	,      *A_							:     Dict	,      **A_							:     int    )    ->       int:
         requires_backends(cls	,      ['''torch''', '''transformers''', '''onnx''']    )







    @classmethod
    def  lowercase					(		cls							:     Dict	,      *A_							:     Tuple	,      **A_							:     Optional[int]    )    ->       Tuple:
         requires_backends(cls	,      ['''torch''', '''transformers''', '''onnx''']    )






class      _A	(						metaclass=_UpperCAmelCase					):




    """simple docstring"""




    UpperCamelCase_	:					Dict							=					['''torch''', '''transformers''', '''onnx''']
    def __init__(		self							:     List[Any]	,      *A_							:     Optional[Any]	,      **A_							:     Any    )    ->       str:
         requires_backends(self	,      ['''torch''', '''transformers''', '''onnx''']    )
    @classmethod
    def  lowercase					(		cls							:     str	,      *A_							:     Union[str, Any]	,      **A_							:     Optional[int]    )    ->       Any:
         requires_backends(cls	,      ['''torch''', '''transformers''', '''onnx''']    )







    @classmethod
    def  lowercase					(		cls							:     List[str]	,      *A_							:     Tuple	,      **A_							:     int    )    ->       Tuple:
         requires_backends(cls	,      ['''torch''', '''transformers''', '''onnx''']    )






class      _A	(						metaclass=_UpperCAmelCase					):




    """simple docstring"""




    UpperCamelCase_	:					List[str]							=					['''torch''', '''transformers''', '''onnx''']
    def __init__(		self							:     Optional[int]	,      *A_							:     Optional[Any]	,      **A_							:     Tuple    )    ->       int:
         requires_backends(self	,      ['''torch''', '''transformers''', '''onnx''']    )
    @classmethod
    def  lowercase					(		cls							:     List[Any]	,      *A_							:     Dict	,      **A_							:     str    )    ->       List[str]:
         requires_backends(cls	,      ['''torch''', '''transformers''', '''onnx''']    )







    @classmethod
    def  lowercase					(		cls							:     int	,      *A_							:     Optional[int]	,      **A_							:     str    )    ->       Optional[Any]:
         requires_backends(cls	,      ['''torch''', '''transformers''', '''onnx''']    )






class      _A	(						metaclass=_UpperCAmelCase					):




    """simple docstring"""




    UpperCamelCase_	:					Tuple							=					['''torch''', '''transformers''', '''onnx''']
    def __init__(		self							:     List[Any]	,      *A_							:     Dict	,      **A_							:     Tuple    )    ->       Dict:
         requires_backends(self	,      ['''torch''', '''transformers''', '''onnx''']    )
    @classmethod
    def  lowercase					(		cls							:     Tuple	,      *A_							:     Union[str, Any]	,      **A_							:     Union[str, Any]    )    ->       Union[str, Any]:
         requires_backends(cls	,      ['''torch''', '''transformers''', '''onnx''']    )







    @classmethod
    def  lowercase					(		cls							:     int	,      *A_							:     int	,      **A_							:     List[Any]    )    ->       str:
         requires_backends(cls	,      ['''torch''', '''transformers''', '''onnx''']    )






class      _A	(						metaclass=_UpperCAmelCase					):




    """simple docstring"""




    UpperCamelCase_	:					Optional[int]							=					['''torch''', '''transformers''', '''onnx''']
    def __init__(		self							:     str	,      *A_							:     Optional[int]	,      **A_							:     Optional[Any]    )    ->       int:
         requires_backends(self	,      ['''torch''', '''transformers''', '''onnx''']    )
    @classmethod
    def  lowercase					(		cls							:     Dict	,      *A_							:     Tuple	,      **A_							:     str    )    ->       int:
         requires_backends(cls	,      ['''torch''', '''transformers''', '''onnx''']    )







    @classmethod
    def  lowercase					(		cls							:     str	,      *A_							:     Union[str, Any]	,      **A_							:     Optional[int]    )    ->       int:
         requires_backends(cls	,      ['''torch''', '''transformers''', '''onnx''']    )






class      _A	(						metaclass=_UpperCAmelCase					):




    """simple docstring"""




    UpperCamelCase_	:					Union[str, Any]							=					['''torch''', '''transformers''', '''onnx''']
    def __init__(		self							:     int	,      *A_							:     int	,      **A_							:     Optional[int]    )    ->       List[str]:
         requires_backends(self	,      ['''torch''', '''transformers''', '''onnx''']    )
    @classmethod
    def  lowercase					(		cls							:     str	,      *A_							:     Dict	,      **A_							:     List[Any]    )    ->       str:
         requires_backends(cls	,      ['''torch''', '''transformers''', '''onnx''']    )







    @classmethod
    def  lowercase					(		cls							:     Optional[Any]	,      *A_							:     List[Any]	,      **A_							:     Dict    )    ->       Optional[int]:
         requires_backends(cls	,      ['''torch''', '''transformers''', '''onnx''']    )
"""simple docstring"""



from typing import TYPE_CHECKING

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


__lowercase		:		Dict														=							{
    "configuration_vision_text_dual_encoder": ["VisionTextDualEncoderConfig"],
    "processing_vision_text_dual_encoder": ["VisionTextDualEncoderProcessor"],
}


try:
       if not is_torch_available():
              raise OptionalDependencyNotAvailable()
except OptionalDependencyNotAvailable:
       pass
else:
       __lowercase		:		Optional[int]														=							["VisionTextDualEncoderModel"]


try:
       if not is_flax_available():
              raise OptionalDependencyNotAvailable()
except OptionalDependencyNotAvailable:
       pass
else:
       __lowercase		:		Optional[int]														=							["FlaxVisionTextDualEncoderModel"]

try:
       if not is_tf_available():
              raise OptionalDependencyNotAvailable()
except OptionalDependencyNotAvailable:
       pass
else:
       __lowercase		:		Any														=							["TFVisionTextDualEncoderModel"]


if TYPE_CHECKING:
       from .configuration_vision_text_dual_encoder import VisionTextDualEncoderConfig
       from .processing_vision_text_dual_encoder import VisionTextDualEncoderProcessor

       try:
              if not is_torch_available():
                     raise OptionalDependencyNotAvailable()
       except OptionalDependencyNotAvailable:
              pass
       else:
              from .modeling_vision_text_dual_encoder import VisionTextDualEncoderModel

       try:
              if not is_flax_available():
                     raise OptionalDependencyNotAvailable()
       except OptionalDependencyNotAvailable:
              pass
       else:
              from .modeling_flax_vision_text_dual_encoder import FlaxVisionTextDualEncoderModel

       try:
              if not is_tf_available():
                     raise OptionalDependencyNotAvailable()
       except OptionalDependencyNotAvailable:
              pass
       else:
              from .modeling_tf_vision_text_dual_encoder import TFVisionTextDualEncoderModel


else:
       import sys

       __lowercase		:		Tuple														=							_LazyModule(__name__, globals()["__file__"], _import_structure)