from ..utils import DummyObject, requires_backends






class 		a__						( metaclass=A__ ):
					A     	=							['tensorflow_text']

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







							"""simple docstring"""






							requires_backends(self,["tensorflow_text"]   )

from ..utils import deprecate
from .attention_processor import (  # noqa: F401
    Attention,
    AttentionProcessor,
    AttnAddedKVProcessor,
    AttnProcessor2_0,
    LoRAAttnProcessor,
    LoRALinearLayer,
    LoRAXFormersAttnProcessor,
    SlicedAttnAddedKVProcessor,
    SlicedAttnProcessor,
    XFormersAttnProcessor,
)
from .attention_processor import AttnProcessor as AttnProcessorRename  # noqa: F401


deprecate(
    '''cross_attention''',
    '''0.20.0''',
    '''Importing from cross_attention is deprecated. Please import from diffusers.models.attention_processor instead.''',
    standard_warn=False,
)


__lowerCamelCase :     str          =  AttentionProcessor






class 		a__						( A__ ):

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







							"""simple docstring"""






							SCREAMING_SNAKE_CASE_  :		Any    				=   F'{self.__class__.__name__} is deprecated and will be removed in `0.20.0`. Please use `from diffusers.models.attention_processor import {"".join(self.__class__.__name__.split("Cross"   )   )} instead.'
							deprecate("cross_attention","0.20.0",_A,standard_warn=_A   )
							super().__init__(*_A,**_A   )







class 		a__						( A__ ):

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







							"""simple docstring"""






							SCREAMING_SNAKE_CASE_  :		Union[str, Any]    				=   F'{self.__class__.__name__} is deprecated and will be removed in `0.20.0`. Please use `from diffusers.models.attention_processor import {"".join(self.__class__.__name__.split("Cross"   )   )} instead.'
							deprecate("cross_attention","0.20.0",_A,standard_warn=_A   )
							super().__init__(*_A,**_A   )







class 		a__						( A__ ):

					def __init__(   self				:	str,*_A				:	Dict,**_A				:	Optional[int]   ):







							"""simple docstring"""






							SCREAMING_SNAKE_CASE_  :		Any    				=   F'{self.__class__.__name__} is deprecated and will be removed in `0.20.0`. Please use `from diffusers.models.attention_processor import {"".join(self.__class__.__name__.split("Cross"   )   )} instead.'
							deprecate("cross_attention","0.20.0",_A,standard_warn=_A   )
							super().__init__(*_A,**_A   )







class 		a__						( A__ ):

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







							"""simple docstring"""






							SCREAMING_SNAKE_CASE_  :		Tuple    				=   F'{self.__class__.__name__} is deprecated and will be removed in `0.20.0`. Please use `from diffusers.models.attention_processor import {"".join(self.__class__.__name__.split("Cross"   )   )} instead.'
							deprecate("cross_attention","0.20.0",_A,standard_warn=_A   )
							super().__init__(*_A,**_A   )







class 		a__						( A__ ):

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







							"""simple docstring"""






							SCREAMING_SNAKE_CASE_  :		Union[str, Any]    				=   F'{self.__class__.__name__} is deprecated and will be removed in `0.20.0`. Please use `from diffusers.models.attention_processor import {"".join(self.__class__.__name__.split("Cross"   )   )} instead.'
							deprecate("cross_attention","0.20.0",_A,standard_warn=_A   )
							super().__init__(*_A,**_A   )







class 		a__						( A__ ):

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







							"""simple docstring"""






							SCREAMING_SNAKE_CASE_  :		List[Any]    				=   F'{self.__class__.__name__} is deprecated and will be removed in `0.20.0`. Please use `from diffusers.models.attention_processor import {"".join(self.__class__.__name__.split("Cross"   )   )} instead.'
							deprecate("cross_attention","0.20.0",_A,standard_warn=_A   )
							super().__init__(*_A,**_A   )







class 		a__						( A__ ):

					def __init__(   self				:	Dict,*_A				:	Dict,**_A				:	Optional[Any]   ):







							"""simple docstring"""






							SCREAMING_SNAKE_CASE_  :		List[Any]    				=   F'{self.__class__.__name__} is deprecated and will be removed in `0.20.0`. Please use `from diffusers.models.attention_processor import {"".join(self.__class__.__name__.split("Cross"   )   )} instead.'
							deprecate("cross_attention","0.20.0",_A,standard_warn=_A   )
							super().__init__(*_A,**_A   )







class 		a__						( A__ ):

					def __init__(   self				:	int,*_A				:	Dict,**_A				:	Union[str, Any]   ):







							"""simple docstring"""






							SCREAMING_SNAKE_CASE_  :		str    				=   F'{self.__class__.__name__} is deprecated and will be removed in `0.20.0`. Please use `from diffusers.models.attention_processor import {"".join(self.__class__.__name__.split("Cross"   )   )} instead.'
							deprecate("cross_attention","0.20.0",_A,standard_warn=_A   )
							super().__init__(*_A,**_A   )
