




"""simple docstring"""


from ..utils import DummyObject, requires_backends






class       lowercase(	metaclass=__a				):







 '''simple docstring'''





 lowercase__				      =      ["flax"]


 def __init__(       self:	List[str],   *a_:	Optional[Any],   **a_:	Optional[int]	):




   '''simple docstring'''



   requires_backends(self,   ["""flax"""]	)


 @classmethod
 def 				UpperCamelCase_     (       cls:	List[Any],   *a_:	List[str],   **a_:	Optional[int]	):




   '''simple docstring'''



   requires_backends(cls,   ["""flax"""]	)


 @classmethod
 def 				UpperCamelCase_     (       cls:	Optional[Any],   *a_:	Tuple,   **a_:	Union[str, Any]	):




   '''simple docstring'''



   requires_backends(cls,   ["""flax"""]	)







class       lowercase(	metaclass=__a				):







 '''simple docstring'''





 lowercase__				      =      ["flax"]


 def __init__(       self:	Any,   *a_:	Union[str, Any],   **a_:	Optional[Any]	):




   '''simple docstring'''



   requires_backends(self,   ["""flax"""]	)


 @classmethod
 def 				UpperCamelCase_     (       cls:	Optional[Any],   *a_:	Optional[int],   **a_:	List[Any]	):




   '''simple docstring'''



   requires_backends(cls,   ["""flax"""]	)


 @classmethod
 def 				UpperCamelCase_     (       cls:	List[str],   *a_:	List[str],   **a_:	int	):




   '''simple docstring'''



   requires_backends(cls,   ["""flax"""]	)







class       lowercase(	metaclass=__a				):







 '''simple docstring'''





 lowercase__				      =      ["flax"]


 def __init__(       self:	List[Any],   *a_:	Optional[int],   **a_:	List[Any]	):




   '''simple docstring'''



   requires_backends(self,   ["""flax"""]	)


 @classmethod
 def 				UpperCamelCase_     (       cls:	Tuple,   *a_:	Optional[Any],   **a_:	Optional[Any]	):




   '''simple docstring'''



   requires_backends(cls,   ["""flax"""]	)


 @classmethod
 def 				UpperCamelCase_     (       cls:	Optional[Any],   *a_:	Optional[int],   **a_:	Optional[int]	):




   '''simple docstring'''



   requires_backends(cls,   ["""flax"""]	)







class       lowercase(	metaclass=__a				):







 '''simple docstring'''





 lowercase__				      =      ["flax"]


 def __init__(       self:	Any,   *a_:	Any,   **a_:	Union[str, Any]	):




   '''simple docstring'''



   requires_backends(self,   ["""flax"""]	)


 @classmethod
 def 				UpperCamelCase_     (       cls:	Dict,   *a_:	str,   **a_:	Tuple	):




   '''simple docstring'''



   requires_backends(cls,   ["""flax"""]	)


 @classmethod
 def 				UpperCamelCase_     (       cls:	Any,   *a_:	Dict,   **a_:	Tuple	):




   '''simple docstring'''



   requires_backends(cls,   ["""flax"""]	)







class       lowercase(	metaclass=__a				):







 '''simple docstring'''





 lowercase__				      =      ["flax"]


 def __init__(       self:	Optional[int],   *a_:	Union[str, Any],   **a_:	int	):




   '''simple docstring'''



   requires_backends(self,   ["""flax"""]	)


 @classmethod
 def 				UpperCamelCase_     (       cls:	Union[str, Any],   *a_:	List[str],   **a_:	Optional[int]	):




   '''simple docstring'''



   requires_backends(cls,   ["""flax"""]	)


 @classmethod
 def 				UpperCamelCase_     (       cls:	List[str],   *a_:	str,   **a_:	int	):




   '''simple docstring'''



   requires_backends(cls,   ["""flax"""]	)







class       lowercase(	metaclass=__a				):







 '''simple docstring'''





 lowercase__				      =      ["flax"]


 def __init__(       self:	int,   *a_:	str,   **a_:	List[Any]	):




   '''simple docstring'''



   requires_backends(self,   ["""flax"""]	)


 @classmethod
 def 				UpperCamelCase_     (       cls:	str,   *a_:	int,   **a_:	Union[str, Any]	):




   '''simple docstring'''



   requires_backends(cls,   ["""flax"""]	)


 @classmethod
 def 				UpperCamelCase_     (       cls:	Optional[int],   *a_:	int,   **a_:	Optional[int]	):




   '''simple docstring'''



   requires_backends(cls,   ["""flax"""]	)







class       lowercase(	metaclass=__a				):







 '''simple docstring'''





 lowercase__				      =      ["flax"]


 def __init__(       self:	Optional[Any],   *a_:	List[str],   **a_:	Dict	):




   '''simple docstring'''



   requires_backends(self,   ["""flax"""]	)


 @classmethod
 def 				UpperCamelCase_     (       cls:	List[str],   *a_:	List[str],   **a_:	Tuple	):




   '''simple docstring'''



   requires_backends(cls,   ["""flax"""]	)


 @classmethod
 def 				UpperCamelCase_     (       cls:	Any,   *a_:	Dict,   **a_:	List[str]	):




   '''simple docstring'''



   requires_backends(cls,   ["""flax"""]	)







class       lowercase(	metaclass=__a				):







 '''simple docstring'''





 lowercase__				      =      ["flax"]


 def __init__(       self:	List[Any],   *a_:	Any,   **a_:	Dict	):




   '''simple docstring'''



   requires_backends(self,   ["""flax"""]	)


 @classmethod
 def 				UpperCamelCase_     (       cls:	str,   *a_:	List[Any],   **a_:	Optional[Any]	):




   '''simple docstring'''



   requires_backends(cls,   ["""flax"""]	)


 @classmethod
 def 				UpperCamelCase_     (       cls:	str,   *a_:	int,   **a_:	str	):




   '''simple docstring'''



   requires_backends(cls,   ["""flax"""]	)







class       lowercase(	metaclass=__a				):







 '''simple docstring'''





 lowercase__				      =      ["flax"]


 def __init__(       self:	str,   *a_:	Optional[Any],   **a_:	List[Any]	):




   '''simple docstring'''



   requires_backends(self,   ["""flax"""]	)


 @classmethod
 def 				UpperCamelCase_     (       cls:	Dict,   *a_:	Dict,   **a_:	Tuple	):




   '''simple docstring'''



   requires_backends(cls,   ["""flax"""]	)


 @classmethod
 def 				UpperCamelCase_     (       cls:	Optional[int],   *a_:	Tuple,   **a_:	Dict	):




   '''simple docstring'''



   requires_backends(cls,   ["""flax"""]	)







class       lowercase(	metaclass=__a				):







 '''simple docstring'''





 lowercase__				      =      ["flax"]


 def __init__(       self:	List[str],   *a_:	Union[str, Any],   **a_:	Any	):




   '''simple docstring'''



   requires_backends(self,   ["""flax"""]	)


 @classmethod
 def 				UpperCamelCase_     (       cls:	List[str],   *a_:	Dict,   **a_:	str	):




   '''simple docstring'''



   requires_backends(cls,   ["""flax"""]	)


 @classmethod
 def 				UpperCamelCase_     (       cls:	int,   *a_:	Dict,   **a_:	str	):




   '''simple docstring'''



   requires_backends(cls,   ["""flax"""]	)







class       lowercase(	metaclass=__a				):







 '''simple docstring'''





 lowercase__				      =      ["flax"]


 def __init__(       self:	Optional[Any],   *a_:	str,   **a_:	str	):




   '''simple docstring'''



   requires_backends(self,   ["""flax"""]	)


 @classmethod
 def 				UpperCamelCase_     (       cls:	Optional[Any],   *a_:	Tuple,   **a_:	Union[str, Any]	):




   '''simple docstring'''



   requires_backends(cls,   ["""flax"""]	)


 @classmethod
 def 				UpperCamelCase_     (       cls:	Dict,   *a_:	Union[str, Any],   **a_:	List[str]	):




   '''simple docstring'''



   requires_backends(cls,   ["""flax"""]	)







class       lowercase(	metaclass=__a				):







 '''simple docstring'''





 lowercase__				      =      ["flax"]


 def __init__(       self:	Optional[int],   *a_:	Dict,   **a_:	List[Any]	):




   '''simple docstring'''



   requires_backends(self,   ["""flax"""]	)


 @classmethod
 def 				UpperCamelCase_     (       cls:	List[Any],   *a_:	List[Any],   **a_:	Union[str, Any]	):




   '''simple docstring'''



   requires_backends(cls,   ["""flax"""]	)


 @classmethod
 def 				UpperCamelCase_     (       cls:	Any,   *a_:	Tuple,   **a_:	Dict	):




   '''simple docstring'''



   requires_backends(cls,   ["""flax"""]	)







class       lowercase(	metaclass=__a				):







 '''simple docstring'''





 lowercase__				      =      ["flax"]


 def __init__(       self:	int,   *a_:	Optional[Any],   **a_:	int	):




   '''simple docstring'''



   requires_backends(self,   ["""flax"""]	)


 @classmethod
 def 				UpperCamelCase_     (       cls:	Union[str, Any],   *a_:	Tuple,   **a_:	List[Any]	):




   '''simple docstring'''



   requires_backends(cls,   ["""flax"""]	)


 @classmethod
 def 				UpperCamelCase_     (       cls:	str,   *a_:	int,   **a_:	List[Any]	):




   '''simple docstring'''



   requires_backends(cls,   ["""flax"""]	)








"""simple docstring"""


from typing import TYPE_CHECKING

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


A_      			=       {
    '''configuration_owlvit''': [
        '''OWLVIT_PRETRAINED_CONFIG_ARCHIVE_MAP''',
        '''OwlViTConfig''',
        '''OwlViTOnnxConfig''',
        '''OwlViTTextConfig''',
        '''OwlViTVisionConfig''',
    ],
    '''processing_owlvit''': ['''OwlViTProcessor'''],
}


try:
     if not is_vision_available():
          raise OptionalDependencyNotAvailable()
except OptionalDependencyNotAvailable:
     pass
else:
     A_      			=       ['''OwlViTFeatureExtractor''']
     A_      			=       ['''OwlViTImageProcessor''']

try:
     if not is_torch_available():
          raise OptionalDependencyNotAvailable()
except OptionalDependencyNotAvailable:
     pass
else:
     A_      			=       [
         '''OWLVIT_PRETRAINED_MODEL_ARCHIVE_LIST''',
         '''OwlViTModel''',
         '''OwlViTPreTrainedModel''',
         '''OwlViTTextModel''',
         '''OwlViTVisionModel''',
         '''OwlViTForObjectDetection''',
     ]

if TYPE_CHECKING:
     from .configuration_owlvit import (
         OWLVIT_PRETRAINED_CONFIG_ARCHIVE_MAP,
         OwlViTConfig,
         OwlViTOnnxConfig,
         OwlViTTextConfig,
         OwlViTVisionConfig,
     )
     from .processing_owlvit import OwlViTProcessor

     try:
          if not is_vision_available():
               raise OptionalDependencyNotAvailable()
     except OptionalDependencyNotAvailable:
          pass
     else:
          from .feature_extraction_owlvit import OwlViTFeatureExtractor
          from .image_processing_owlvit import OwlViTImageProcessor

     try:
          if not is_torch_available():
               raise OptionalDependencyNotAvailable()
     except OptionalDependencyNotAvailable:
          pass
     else:
          from .modeling_owlvit import (
              OWLVIT_PRETRAINED_MODEL_ARCHIVE_LIST,
              OwlViTForObjectDetection,
              OwlViTModel,
              OwlViTPreTrainedModel,
              OwlViTTextModel,
              OwlViTVisionModel,
          )

else:
     import sys

     A_      			=       _LazyModule(__name__, globals()['''__file__'''], _import_structure, module_spec=__spec__)


