





from ..utils import DummyObject, requires_backends

class 		UpperCamelCase__			(				metaclass=lowerCAmelCase_       ):



     '''simple docstring'''

     __snake_case   :     Any		     =      ["torch"]






     def __init__(							self						:   Optional[Any]						,*lowerCamelCase__						:   Union[str, Any]						,**lowerCamelCase__						:   Tuple	)					->		Optional[int]:




           '''simple docstring'''


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






     @classmethod
     def     SCREAMING_SNAKE_CASE__  (							cls						:   Dict						,*lowerCamelCase__						:   str						,**lowerCamelCase__						:   List[str]	)					->		int:




           '''simple docstring'''


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






     @classmethod
     def     SCREAMING_SNAKE_CASE__  (							cls						:   Optional[int]						,*lowerCamelCase__						:   Any						,**lowerCamelCase__						:   List[Any]	)					->		Optional[Any]:




           '''simple docstring'''


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

class 		UpperCamelCase__			(				metaclass=lowerCAmelCase_       ):



     '''simple docstring'''

     __snake_case   :     List[str]		     =      ["torch"]






     def __init__(							self						:   Union[str, Any]						,*lowerCamelCase__						:   int						,**lowerCamelCase__						:   Any	)					->		Optional[Any]:




           '''simple docstring'''


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






     @classmethod
     def     SCREAMING_SNAKE_CASE__  (							cls						:   Dict						,*lowerCamelCase__						:   Union[str, Any]						,**lowerCamelCase__						:   Optional[int]	)					->		Tuple:




           '''simple docstring'''


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






     @classmethod
     def     SCREAMING_SNAKE_CASE__  (							cls						:   Dict						,*lowerCamelCase__						:   int						,**lowerCamelCase__						:   List[Any]	)					->		Optional[int]:




           '''simple docstring'''


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

class 		UpperCamelCase__			(				metaclass=lowerCAmelCase_       ):



     '''simple docstring'''

     __snake_case   :     str		     =      ["torch"]






     def __init__(							self						:   int						,*lowerCamelCase__						:   str						,**lowerCamelCase__						:   str	)					->		Tuple:




           '''simple docstring'''


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






     @classmethod
     def     SCREAMING_SNAKE_CASE__  (							cls						:   List[str]						,*lowerCamelCase__						:   Dict						,**lowerCamelCase__						:   Optional[Any]	)					->		List[str]:




           '''simple docstring'''


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






     @classmethod
     def     SCREAMING_SNAKE_CASE__  (							cls						:   str						,*lowerCamelCase__						:   Optional[int]						,**lowerCamelCase__						:   Optional[int]	)					->		str:




           '''simple docstring'''


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

class 		UpperCamelCase__			(				metaclass=lowerCAmelCase_       ):



     '''simple docstring'''

     __snake_case   :     List[Any]		     =      ["torch"]






     def __init__(							self						:   Optional[Any]						,*lowerCamelCase__						:   List[Any]						,**lowerCamelCase__						:   Any	)					->		Any:




           '''simple docstring'''


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






     @classmethod
     def     SCREAMING_SNAKE_CASE__  (							cls						:   str						,*lowerCamelCase__						:   Any						,**lowerCamelCase__						:   Dict	)					->		int:




           '''simple docstring'''


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






     @classmethod
     def     SCREAMING_SNAKE_CASE__  (							cls						:   Tuple						,*lowerCamelCase__						:   Tuple						,**lowerCamelCase__						:   Any	)					->		int:




           '''simple docstring'''


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

class 		UpperCamelCase__			(				metaclass=lowerCAmelCase_       ):



     '''simple docstring'''

     __snake_case   :     Any		     =      ["torch"]






     def __init__(							self						:   Union[str, Any]						,*lowerCamelCase__						:   int						,**lowerCamelCase__						:   Union[str, Any]	)					->		Any:




           '''simple docstring'''


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






     @classmethod
     def     SCREAMING_SNAKE_CASE__  (							cls						:   Dict						,*lowerCamelCase__						:   Any						,**lowerCamelCase__						:   Any	)					->		Union[str, Any]:




           '''simple docstring'''


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






     @classmethod
     def     SCREAMING_SNAKE_CASE__  (							cls						:   Optional[int]						,*lowerCamelCase__						:   Tuple						,**lowerCamelCase__						:   Any	)					->		Any:




           '''simple docstring'''


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

class 		UpperCamelCase__			(				metaclass=lowerCAmelCase_       ):



     '''simple docstring'''

     __snake_case   :     int		     =      ["torch"]






     def __init__(							self						:   str						,*lowerCamelCase__						:   Tuple						,**lowerCamelCase__						:   int	)					->		Tuple:




           '''simple docstring'''


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






     @classmethod
     def     SCREAMING_SNAKE_CASE__  (							cls						:   List[str]						,*lowerCamelCase__						:   Optional[Any]						,**lowerCamelCase__						:   List[str]	)					->		List[str]:




           '''simple docstring'''


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






     @classmethod
     def     SCREAMING_SNAKE_CASE__  (							cls						:   Dict						,*lowerCamelCase__						:   str						,**lowerCamelCase__						:   List[str]	)					->		Tuple:




           '''simple docstring'''


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

class 		UpperCamelCase__			(				metaclass=lowerCAmelCase_       ):



     '''simple docstring'''

     __snake_case   :     Tuple		     =      ["torch"]






     def __init__(							self						:   str						,*lowerCamelCase__						:   Any						,**lowerCamelCase__						:   int	)					->		Dict:




           '''simple docstring'''


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






     @classmethod
     def     SCREAMING_SNAKE_CASE__  (							cls						:   int						,*lowerCamelCase__						:   Optional[Any]						,**lowerCamelCase__						:   int	)					->		Union[str, Any]:




           '''simple docstring'''


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






     @classmethod
     def     SCREAMING_SNAKE_CASE__  (							cls						:   Optional[Any]						,*lowerCamelCase__						:   Optional[Any]						,**lowerCamelCase__						:   Tuple	)					->		Any:




           '''simple docstring'''


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

class 		UpperCamelCase__			(				metaclass=lowerCAmelCase_       ):



     '''simple docstring'''

     __snake_case   :     Optional[int]		     =      ["torch"]






     def __init__(							self						:   Optional[Any]						,*lowerCamelCase__						:   Dict						,**lowerCamelCase__						:   Tuple	)					->		Optional[Any]:




           '''simple docstring'''


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






     @classmethod
     def     SCREAMING_SNAKE_CASE__  (							cls						:   str						,*lowerCamelCase__						:   Optional[int]						,**lowerCamelCase__						:   Any	)					->		Any:




           '''simple docstring'''


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






     @classmethod
     def     SCREAMING_SNAKE_CASE__  (							cls						:   Union[str, Any]						,*lowerCamelCase__						:   List[str]						,**lowerCamelCase__						:   List[str]	)					->		Optional[Any]:




           '''simple docstring'''


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

class 		UpperCamelCase__			(				metaclass=lowerCAmelCase_       ):



     '''simple docstring'''

     __snake_case   :     Optional[Any]		     =      ["torch"]






     def __init__(							self						:   str						,*lowerCamelCase__						:   List[Any]						,**lowerCamelCase__						:   Tuple	)					->		List[Any]:




           '''simple docstring'''


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






     @classmethod
     def     SCREAMING_SNAKE_CASE__  (							cls						:   Optional[Any]						,*lowerCamelCase__						:   Optional[int]						,**lowerCamelCase__						:   List[str]	)					->		Optional[int]:




           '''simple docstring'''


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






     @classmethod
     def     SCREAMING_SNAKE_CASE__  (							cls						:   Any						,*lowerCamelCase__						:   Dict						,**lowerCamelCase__						:   Tuple	)					->		Any:




           '''simple docstring'''


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

class 		UpperCamelCase__			(				metaclass=lowerCAmelCase_       ):



     '''simple docstring'''

     __snake_case   :     List[str]		     =      ["torch"]






     def __init__(							self						:   Tuple						,*lowerCamelCase__						:   Any						,**lowerCamelCase__						:   Union[str, Any]	)					->		Optional[Any]:




           '''simple docstring'''


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






     @classmethod
     def     SCREAMING_SNAKE_CASE__  (							cls						:   int						,*lowerCamelCase__						:   Tuple						,**lowerCamelCase__						:   Optional[Any]	)					->		Union[str, Any]:




           '''simple docstring'''


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






     @classmethod
     def     SCREAMING_SNAKE_CASE__  (							cls						:   str						,*lowerCamelCase__						:   List[str]						,**lowerCamelCase__						:   int	)					->		Union[str, Any]:




           '''simple docstring'''


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

class 		UpperCamelCase__			(				metaclass=lowerCAmelCase_       ):



     '''simple docstring'''

     __snake_case   :     Optional[int]		     =      ["torch"]






     def __init__(							self						:   Optional[int]						,*lowerCamelCase__						:   Optional[Any]						,**lowerCamelCase__						:   Any	)					->		List[str]:




           '''simple docstring'''


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






     @classmethod
     def     SCREAMING_SNAKE_CASE__  (							cls						:   Tuple						,*lowerCamelCase__						:   Tuple						,**lowerCamelCase__						:   Any	)					->		Union[str, Any]:




           '''simple docstring'''


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






     @classmethod
     def     SCREAMING_SNAKE_CASE__  (							cls						:   Dict						,*lowerCamelCase__						:   Union[str, Any]						,**lowerCamelCase__						:   List[Any]	)					->		Dict:




           '''simple docstring'''


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



def        __lowercase       (				*_SCREAMING_SNAKE_CASE			,						**_SCREAMING_SNAKE_CASE     )			->       Any:


      '''simple docstring'''


      requires_backends(_SCREAMING_SNAKE_CASE			,						["""torch"""]     )



def        __lowercase       (				*_SCREAMING_SNAKE_CASE			,						**_SCREAMING_SNAKE_CASE     )			->       Union[str, Any]:


      '''simple docstring'''


      requires_backends(_SCREAMING_SNAKE_CASE			,						["""torch"""]     )



def        __lowercase       (				*_SCREAMING_SNAKE_CASE			,						**_SCREAMING_SNAKE_CASE     )			->       Optional[Any]:


      '''simple docstring'''


      requires_backends(_SCREAMING_SNAKE_CASE			,						["""torch"""]     )



def        __lowercase       (				*_SCREAMING_SNAKE_CASE			,						**_SCREAMING_SNAKE_CASE     )			->       Tuple:


      '''simple docstring'''


      requires_backends(_SCREAMING_SNAKE_CASE			,						["""torch"""]     )



def        __lowercase       (				*_SCREAMING_SNAKE_CASE			,						**_SCREAMING_SNAKE_CASE     )			->       int:


      '''simple docstring'''


      requires_backends(_SCREAMING_SNAKE_CASE			,						["""torch"""]     )



def        __lowercase       (				*_SCREAMING_SNAKE_CASE			,						**_SCREAMING_SNAKE_CASE     )			->       Optional[Any]:


      '''simple docstring'''


      requires_backends(_SCREAMING_SNAKE_CASE			,						["""torch"""]     )



def        __lowercase       (				*_SCREAMING_SNAKE_CASE			,						**_SCREAMING_SNAKE_CASE     )			->       int:


      '''simple docstring'''


      requires_backends(_SCREAMING_SNAKE_CASE			,						["""torch"""]     )

class 		UpperCamelCase__			(				metaclass=lowerCAmelCase_       ):



     '''simple docstring'''

     __snake_case   :     Union[str, Any]		     =      ["torch"]






     def __init__(							self						:   List[Any]						,*lowerCamelCase__						:   Tuple						,**lowerCamelCase__						:   Optional[Any]	)					->		Tuple:




           '''simple docstring'''


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






     @classmethod
     def     SCREAMING_SNAKE_CASE__  (							cls						:   str						,*lowerCamelCase__						:   Dict						,**lowerCamelCase__						:   Dict	)					->		Any:




           '''simple docstring'''


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






     @classmethod
     def     SCREAMING_SNAKE_CASE__  (							cls						:   int						,*lowerCamelCase__						:   List[str]						,**lowerCamelCase__						:   Optional[int]	)					->		Union[str, Any]:




           '''simple docstring'''


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

class 		UpperCamelCase__			(				metaclass=lowerCAmelCase_       ):



     '''simple docstring'''

     __snake_case   :     Union[str, Any]		     =      ["torch"]






     def __init__(							self						:   List[Any]						,*lowerCamelCase__						:   Optional[int]						,**lowerCamelCase__						:   str	)					->		Dict:




           '''simple docstring'''


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






     @classmethod
     def     SCREAMING_SNAKE_CASE__  (							cls						:   Tuple						,*lowerCamelCase__						:   List[Any]						,**lowerCamelCase__						:   Dict	)					->		List[Any]:




           '''simple docstring'''


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






     @classmethod
     def     SCREAMING_SNAKE_CASE__  (							cls						:   Dict						,*lowerCamelCase__						:   Optional[Any]						,**lowerCamelCase__						:   Optional[int]	)					->		Any:




           '''simple docstring'''


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

class 		UpperCamelCase__			(				metaclass=lowerCAmelCase_       ):



     '''simple docstring'''

     __snake_case   :     int		     =      ["torch"]






     def __init__(							self						:   int						,*lowerCamelCase__						:   int						,**lowerCamelCase__						:   Any	)					->		Tuple:




           '''simple docstring'''


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






     @classmethod
     def     SCREAMING_SNAKE_CASE__  (							cls						:   List[Any]						,*lowerCamelCase__						:   Optional[Any]						,**lowerCamelCase__						:   List[Any]	)					->		int:




           '''simple docstring'''


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






     @classmethod
     def     SCREAMING_SNAKE_CASE__  (							cls						:   int						,*lowerCamelCase__						:   Any						,**lowerCamelCase__						:   Any	)					->		List[Any]:




           '''simple docstring'''


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

class 		UpperCamelCase__			(				metaclass=lowerCAmelCase_       ):



     '''simple docstring'''

     __snake_case   :     str		     =      ["torch"]






     def __init__(							self						:   List[str]						,*lowerCamelCase__						:   Union[str, Any]						,**lowerCamelCase__						:   Union[str, Any]	)					->		int:




           '''simple docstring'''


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






     @classmethod
     def     SCREAMING_SNAKE_CASE__  (							cls						:   Tuple						,*lowerCamelCase__						:   str						,**lowerCamelCase__						:   Any	)					->		Optional[int]:




           '''simple docstring'''


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






     @classmethod
     def     SCREAMING_SNAKE_CASE__  (							cls						:   List[Any]						,*lowerCamelCase__						:   Optional[int]						,**lowerCamelCase__						:   Optional[Any]	)					->		Any:




           '''simple docstring'''


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

class 		UpperCamelCase__			(				metaclass=lowerCAmelCase_       ):



     '''simple docstring'''

     __snake_case   :     List[str]		     =      ["torch"]






     def __init__(							self						:   str						,*lowerCamelCase__						:   Dict						,**lowerCamelCase__						:   Dict	)					->		Any:




           '''simple docstring'''


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






     @classmethod
     def     SCREAMING_SNAKE_CASE__  (							cls						:   Any						,*lowerCamelCase__						:   List[str]						,**lowerCamelCase__						:   int	)					->		int:




           '''simple docstring'''


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






     @classmethod
     def     SCREAMING_SNAKE_CASE__  (							cls						:   List[str]						,*lowerCamelCase__						:   Union[str, Any]						,**lowerCamelCase__						:   Union[str, Any]	)					->		int:




           '''simple docstring'''


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

class 		UpperCamelCase__			(				metaclass=lowerCAmelCase_       ):



     '''simple docstring'''

     __snake_case   :     Optional[Any]		     =      ["torch"]






     def __init__(							self						:   Dict						,*lowerCamelCase__						:   str						,**lowerCamelCase__						:   Dict	)					->		Any:




           '''simple docstring'''


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






     @classmethod
     def     SCREAMING_SNAKE_CASE__  (							cls						:   Optional[Any]						,*lowerCamelCase__						:   Union[str, Any]						,**lowerCamelCase__						:   Union[str, Any]	)					->		Union[str, Any]:




           '''simple docstring'''


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






     @classmethod
     def     SCREAMING_SNAKE_CASE__  (							cls						:   Dict						,*lowerCamelCase__						:   Tuple						,**lowerCamelCase__						:   List[Any]	)					->		Dict:




           '''simple docstring'''


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

class 		UpperCamelCase__			(				metaclass=lowerCAmelCase_       ):



     '''simple docstring'''

     __snake_case   :     Any		     =      ["torch"]






     def __init__(							self						:   Dict						,*lowerCamelCase__						:   Dict						,**lowerCamelCase__						:   Optional[int]	)					->		Optional[int]:




           '''simple docstring'''


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






     @classmethod
     def     SCREAMING_SNAKE_CASE__  (							cls						:   Optional[int]						,*lowerCamelCase__						:   Union[str, Any]						,**lowerCamelCase__						:   Dict	)					->		Optional[Any]:




           '''simple docstring'''


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






     @classmethod
     def     SCREAMING_SNAKE_CASE__  (							cls						:   List[Any]						,*lowerCamelCase__						:   List[str]						,**lowerCamelCase__						:   Any	)					->		List[str]:




           '''simple docstring'''


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

class 		UpperCamelCase__			(				metaclass=lowerCAmelCase_       ):



     '''simple docstring'''

     __snake_case   :     int		     =      ["torch"]






     def __init__(							self						:   List[Any]						,*lowerCamelCase__						:   List[Any]						,**lowerCamelCase__						:   List[Any]	)					->		Tuple:




           '''simple docstring'''


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






     @classmethod
     def     SCREAMING_SNAKE_CASE__  (							cls						:   Any						,*lowerCamelCase__						:   int						,**lowerCamelCase__						:   List[Any]	)					->		Tuple:




           '''simple docstring'''


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






     @classmethod
     def     SCREAMING_SNAKE_CASE__  (							cls						:   Dict						,*lowerCamelCase__						:   List[str]						,**lowerCamelCase__						:   Tuple	)					->		int:




           '''simple docstring'''


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

class 		UpperCamelCase__			(				metaclass=lowerCAmelCase_       ):



     '''simple docstring'''

     __snake_case   :     int		     =      ["torch"]






     def __init__(							self						:   Optional[Any]						,*lowerCamelCase__						:   List[Any]						,**lowerCamelCase__						:   List[Any]	)					->		Any:




           '''simple docstring'''


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






     @classmethod
     def     SCREAMING_SNAKE_CASE__  (							cls						:   Optional[int]						,*lowerCamelCase__						:   Dict						,**lowerCamelCase__						:   List[str]	)					->		Any:




           '''simple docstring'''


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






     @classmethod
     def     SCREAMING_SNAKE_CASE__  (							cls						:   Dict						,*lowerCamelCase__						:   Union[str, Any]						,**lowerCamelCase__						:   List[Any]	)					->		Tuple:




           '''simple docstring'''


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

class 		UpperCamelCase__			(				metaclass=lowerCAmelCase_       ):



     '''simple docstring'''

     __snake_case   :     Optional[Any]		     =      ["torch"]






     def __init__(							self						:   Tuple						,*lowerCamelCase__						:   Optional[int]						,**lowerCamelCase__						:   Dict	)					->		Optional[int]:




           '''simple docstring'''


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






     @classmethod
     def     SCREAMING_SNAKE_CASE__  (							cls						:   List[Any]						,*lowerCamelCase__						:   int						,**lowerCamelCase__						:   Any	)					->		List[Any]:




           '''simple docstring'''


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






     @classmethod
     def     SCREAMING_SNAKE_CASE__  (							cls						:   Optional[int]						,*lowerCamelCase__						:   Tuple						,**lowerCamelCase__						:   Optional[int]	)					->		List[Any]:




           '''simple docstring'''


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

class 		UpperCamelCase__			(				metaclass=lowerCAmelCase_       ):



     '''simple docstring'''

     __snake_case   :     Union[str, Any]		     =      ["torch"]






     def __init__(							self						:   Optional[int]						,*lowerCamelCase__						:   int						,**lowerCamelCase__						:   Tuple	)					->		Any:




           '''simple docstring'''


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






     @classmethod
     def     SCREAMING_SNAKE_CASE__  (							cls						:   List[Any]						,*lowerCamelCase__						:   Tuple						,**lowerCamelCase__						:   str	)					->		Any:




           '''simple docstring'''


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






     @classmethod
     def     SCREAMING_SNAKE_CASE__  (							cls						:   Union[str, Any]						,*lowerCamelCase__						:   Optional[Any]						,**lowerCamelCase__						:   Optional[Any]	)					->		Union[str, Any]:




           '''simple docstring'''


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

class 		UpperCamelCase__			(				metaclass=lowerCAmelCase_       ):



     '''simple docstring'''

     __snake_case   :     Union[str, Any]		     =      ["torch"]






     def __init__(							self						:   Any						,*lowerCamelCase__						:   List[Any]						,**lowerCamelCase__						:   Any	)					->		str:




           '''simple docstring'''


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






     @classmethod
     def     SCREAMING_SNAKE_CASE__  (							cls						:   Optional[int]						,*lowerCamelCase__						:   Union[str, Any]						,**lowerCamelCase__						:   Dict	)					->		Tuple:




           '''simple docstring'''


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






     @classmethod
     def     SCREAMING_SNAKE_CASE__  (							cls						:   Optional[int]						,*lowerCamelCase__						:   str						,**lowerCamelCase__						:   List[str]	)					->		str:




           '''simple docstring'''


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

class 		UpperCamelCase__			(				metaclass=lowerCAmelCase_       ):



     '''simple docstring'''

     __snake_case   :     List[Any]		     =      ["torch"]






     def __init__(							self						:   Optional[int]						,*lowerCamelCase__						:   Any						,**lowerCamelCase__						:   int	)					->		Union[str, Any]:




           '''simple docstring'''


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






     @classmethod
     def     SCREAMING_SNAKE_CASE__  (							cls						:   Dict						,*lowerCamelCase__						:   Dict						,**lowerCamelCase__						:   Tuple	)					->		int:




           '''simple docstring'''


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






     @classmethod
     def     SCREAMING_SNAKE_CASE__  (							cls						:   int						,*lowerCamelCase__						:   Any						,**lowerCamelCase__						:   Any	)					->		Optional[int]:




           '''simple docstring'''


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

class 		UpperCamelCase__			(				metaclass=lowerCAmelCase_       ):



     '''simple docstring'''

     __snake_case   :     Union[str, Any]		     =      ["torch"]






     def __init__(							self						:   int						,*lowerCamelCase__						:   List[Any]						,**lowerCamelCase__						:   str	)					->		Dict:




           '''simple docstring'''


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






     @classmethod
     def     SCREAMING_SNAKE_CASE__  (							cls						:   List[Any]						,*lowerCamelCase__						:   Optional[int]						,**lowerCamelCase__						:   Union[str, Any]	)					->		List[str]:




           '''simple docstring'''


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






     @classmethod
     def     SCREAMING_SNAKE_CASE__  (							cls						:   Optional[Any]						,*lowerCamelCase__						:   Optional[Any]						,**lowerCamelCase__						:   str	)					->		Optional[Any]:




           '''simple docstring'''


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

class 		UpperCamelCase__			(				metaclass=lowerCAmelCase_       ):



     '''simple docstring'''

     __snake_case   :     int		     =      ["torch"]






     def __init__(							self						:   str						,*lowerCamelCase__						:   Optional[Any]						,**lowerCamelCase__						:   Dict	)					->		Union[str, Any]:




           '''simple docstring'''


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






     @classmethod
     def     SCREAMING_SNAKE_CASE__  (							cls						:   int						,*lowerCamelCase__						:   Optional[int]						,**lowerCamelCase__						:   List[str]	)					->		List[Any]:




           '''simple docstring'''


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






     @classmethod
     def     SCREAMING_SNAKE_CASE__  (							cls						:   Any						,*lowerCamelCase__						:   Dict						,**lowerCamelCase__						:   Optional[int]	)					->		Tuple:




           '''simple docstring'''


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

class 		UpperCamelCase__			(				metaclass=lowerCAmelCase_       ):



     '''simple docstring'''

     __snake_case   :     Union[str, Any]		     =      ["torch"]






     def __init__(							self						:   Dict						,*lowerCamelCase__						:   str						,**lowerCamelCase__						:   Tuple	)					->		Any:




           '''simple docstring'''


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






     @classmethod
     def     SCREAMING_SNAKE_CASE__  (							cls						:   Dict						,*lowerCamelCase__						:   Optional[int]						,**lowerCamelCase__						:   Dict	)					->		Dict:




           '''simple docstring'''


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






     @classmethod
     def     SCREAMING_SNAKE_CASE__  (							cls						:   str						,*lowerCamelCase__						:   Optional[Any]						,**lowerCamelCase__						:   Optional[Any]	)					->		Tuple:




           '''simple docstring'''


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

class 		UpperCamelCase__			(				metaclass=lowerCAmelCase_       ):



     '''simple docstring'''

     __snake_case   :     str		     =      ["torch"]






     def __init__(							self						:   Any						,*lowerCamelCase__						:   Dict						,**lowerCamelCase__						:   Optional[Any]	)					->		Any:




           '''simple docstring'''


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






     @classmethod
     def     SCREAMING_SNAKE_CASE__  (							cls						:   Union[str, Any]						,*lowerCamelCase__						:   int						,**lowerCamelCase__						:   List[Any]	)					->		Dict:




           '''simple docstring'''


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






     @classmethod
     def     SCREAMING_SNAKE_CASE__  (							cls						:   Dict						,*lowerCamelCase__						:   Dict						,**lowerCamelCase__						:   Any	)					->		Tuple:




           '''simple docstring'''


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

class 		UpperCamelCase__			(				metaclass=lowerCAmelCase_       ):



     '''simple docstring'''

     __snake_case   :     Optional[int]		     =      ["torch"]






     def __init__(							self						:   str						,*lowerCamelCase__						:   int						,**lowerCamelCase__						:   Optional[Any]	)					->		Any:




           '''simple docstring'''


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






     @classmethod
     def     SCREAMING_SNAKE_CASE__  (							cls						:   List[Any]						,*lowerCamelCase__						:   Union[str, Any]						,**lowerCamelCase__						:   List[Any]	)					->		List[Any]:




           '''simple docstring'''


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






     @classmethod
     def     SCREAMING_SNAKE_CASE__  (							cls						:   int						,*lowerCamelCase__						:   int						,**lowerCamelCase__						:   Dict	)					->		Union[str, Any]:




           '''simple docstring'''


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

class 		UpperCamelCase__			(				metaclass=lowerCAmelCase_       ):



     '''simple docstring'''

     __snake_case   :     Optional[int]		     =      ["torch"]






     def __init__(							self						:   Dict						,*lowerCamelCase__						:   List[Any]						,**lowerCamelCase__						:   Dict	)					->		int:




           '''simple docstring'''


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






     @classmethod
     def     SCREAMING_SNAKE_CASE__  (							cls						:   Dict						,*lowerCamelCase__						:   str						,**lowerCamelCase__						:   Optional[int]	)					->		List[Any]:




           '''simple docstring'''


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






     @classmethod
     def     SCREAMING_SNAKE_CASE__  (							cls						:   Union[str, Any]						,*lowerCamelCase__						:   Optional[int]						,**lowerCamelCase__						:   Tuple	)					->		List[str]:




           '''simple docstring'''


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

class 		UpperCamelCase__			(				metaclass=lowerCAmelCase_       ):



     '''simple docstring'''

     __snake_case   :     Tuple		     =      ["torch"]






     def __init__(							self						:   str						,*lowerCamelCase__						:   Dict						,**lowerCamelCase__						:   str	)					->		Dict:




           '''simple docstring'''


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






     @classmethod
     def     SCREAMING_SNAKE_CASE__  (							cls						:   Optional[int]						,*lowerCamelCase__						:   Tuple						,**lowerCamelCase__						:   int	)					->		List[str]:




           '''simple docstring'''


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






     @classmethod
     def     SCREAMING_SNAKE_CASE__  (							cls						:   str						,*lowerCamelCase__						:   str						,**lowerCamelCase__						:   Tuple	)					->		Any:




           '''simple docstring'''


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

class 		UpperCamelCase__			(				metaclass=lowerCAmelCase_       ):



     '''simple docstring'''

     __snake_case   :     List[str]		     =      ["torch"]






     def __init__(							self						:   List[str]						,*lowerCamelCase__						:   str						,**lowerCamelCase__						:   Tuple	)					->		List[str]:




           '''simple docstring'''


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






     @classmethod
     def     SCREAMING_SNAKE_CASE__  (							cls						:   str						,*lowerCamelCase__						:   int						,**lowerCamelCase__						:   List[str]	)					->		str:




           '''simple docstring'''


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






     @classmethod
     def     SCREAMING_SNAKE_CASE__  (							cls						:   str						,*lowerCamelCase__						:   List[str]						,**lowerCamelCase__						:   int	)					->		int:




           '''simple docstring'''


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

class 		UpperCamelCase__			(				metaclass=lowerCAmelCase_       ):



     '''simple docstring'''

     __snake_case   :     int		     =      ["torch"]






     def __init__(							self						:   str						,*lowerCamelCase__						:   str						,**lowerCamelCase__						:   int	)					->		List[Any]:




           '''simple docstring'''


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






     @classmethod
     def     SCREAMING_SNAKE_CASE__  (							cls						:   Optional[Any]						,*lowerCamelCase__						:   Dict						,**lowerCamelCase__						:   Optional[Any]	)					->		List[Any]:




           '''simple docstring'''


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






     @classmethod
     def     SCREAMING_SNAKE_CASE__  (							cls						:   Optional[Any]						,*lowerCamelCase__						:   List[str]						,**lowerCamelCase__						:   Tuple	)					->		Optional[int]:




           '''simple docstring'''


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

class 		UpperCamelCase__			(				metaclass=lowerCAmelCase_       ):



     '''simple docstring'''

     __snake_case   :     Tuple		     =      ["torch"]






     def __init__(							self						:   Optional[Any]						,*lowerCamelCase__						:   int						,**lowerCamelCase__						:   List[str]	)					->		List[Any]:




           '''simple docstring'''


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






     @classmethod
     def     SCREAMING_SNAKE_CASE__  (							cls						:   Tuple						,*lowerCamelCase__						:   int						,**lowerCamelCase__						:   Tuple	)					->		List[str]:




           '''simple docstring'''


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






     @classmethod
     def     SCREAMING_SNAKE_CASE__  (							cls						:   Union[str, Any]						,*lowerCamelCase__						:   List[Any]						,**lowerCamelCase__						:   int	)					->		Union[str, Any]:




           '''simple docstring'''


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

class 		UpperCamelCase__			(				metaclass=lowerCAmelCase_       ):



     '''simple docstring'''

     __snake_case   :     int		     =      ["torch"]






     def __init__(							self						:   int						,*lowerCamelCase__						:   Any						,**lowerCamelCase__						:   List[str]	)					->		Union[str, Any]:




           '''simple docstring'''


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






     @classmethod
     def     SCREAMING_SNAKE_CASE__  (							cls						:   Any						,*lowerCamelCase__						:   List[str]						,**lowerCamelCase__						:   Dict	)					->		Tuple:




           '''simple docstring'''


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






     @classmethod
     def     SCREAMING_SNAKE_CASE__  (							cls						:   Any						,*lowerCamelCase__						:   Optional[int]						,**lowerCamelCase__						:   Optional[Any]	)					->		str:




           '''simple docstring'''


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

class 		UpperCamelCase__			(				metaclass=lowerCAmelCase_       ):



     '''simple docstring'''

     __snake_case   :     Tuple		     =      ["torch"]






     def __init__(							self						:   Optional[Any]						,*lowerCamelCase__						:   List[Any]						,**lowerCamelCase__						:   Any	)					->		int:




           '''simple docstring'''


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






     @classmethod
     def     SCREAMING_SNAKE_CASE__  (							cls						:   Optional[Any]						,*lowerCamelCase__						:   int						,**lowerCamelCase__						:   List[Any]	)					->		Dict:




           '''simple docstring'''


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






     @classmethod
     def     SCREAMING_SNAKE_CASE__  (							cls						:   int						,*lowerCamelCase__						:   Union[str, Any]						,**lowerCamelCase__						:   List[str]	)					->		Dict:




           '''simple docstring'''


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

class 		UpperCamelCase__			(				metaclass=lowerCAmelCase_       ):



     '''simple docstring'''

     __snake_case   :     Union[str, Any]		     =      ["torch"]






     def __init__(							self						:   Optional[int]						,*lowerCamelCase__						:   List[str]						,**lowerCamelCase__						:   Optional[Any]	)					->		Any:




           '''simple docstring'''


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






     @classmethod
     def     SCREAMING_SNAKE_CASE__  (							cls						:   List[str]						,*lowerCamelCase__						:   Optional[Any]						,**lowerCamelCase__						:   Any	)					->		str:




           '''simple docstring'''


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






     @classmethod
     def     SCREAMING_SNAKE_CASE__  (							cls						:   str						,*lowerCamelCase__						:   Union[str, Any]						,**lowerCamelCase__						:   Any	)					->		str:




           '''simple docstring'''


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

class 		UpperCamelCase__			(				metaclass=lowerCAmelCase_       ):



     '''simple docstring'''

     __snake_case   :     Dict		     =      ["torch"]






     def __init__(							self						:   str						,*lowerCamelCase__						:   Tuple						,**lowerCamelCase__						:   Union[str, Any]	)					->		Optional[int]:




           '''simple docstring'''


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






     @classmethod
     def     SCREAMING_SNAKE_CASE__  (							cls						:   Union[str, Any]						,*lowerCamelCase__						:   Any						,**lowerCamelCase__						:   Dict	)					->		int:




           '''simple docstring'''


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






     @classmethod
     def     SCREAMING_SNAKE_CASE__  (							cls						:   Union[str, Any]						,*lowerCamelCase__						:   Union[str, Any]						,**lowerCamelCase__						:   Optional[Any]	)					->		List[str]:




           '''simple docstring'''


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

class 		UpperCamelCase__			(				metaclass=lowerCAmelCase_       ):



     '''simple docstring'''

     __snake_case   :     int		     =      ["torch"]






     def __init__(							self						:   str						,*lowerCamelCase__						:   List[Any]						,**lowerCamelCase__						:   str	)					->		List[str]:




           '''simple docstring'''


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






     @classmethod
     def     SCREAMING_SNAKE_CASE__  (							cls						:   Optional[Any]						,*lowerCamelCase__						:   str						,**lowerCamelCase__						:   List[Any]	)					->		Any:




           '''simple docstring'''


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






     @classmethod
     def     SCREAMING_SNAKE_CASE__  (							cls						:   Optional[int]						,*lowerCamelCase__						:   Any						,**lowerCamelCase__						:   Any	)					->		Union[str, Any]:




           '''simple docstring'''


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

class 		UpperCamelCase__			(				metaclass=lowerCAmelCase_       ):



     '''simple docstring'''

     __snake_case   :     Optional[int]		     =      ["torch"]






     def __init__(							self						:   Dict						,*lowerCamelCase__						:   Optional[Any]						,**lowerCamelCase__						:   Dict	)					->		Optional[int]:




           '''simple docstring'''


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






     @classmethod
     def     SCREAMING_SNAKE_CASE__  (							cls						:   List[Any]						,*lowerCamelCase__						:   Union[str, Any]						,**lowerCamelCase__						:   Tuple	)					->		List[str]:




           '''simple docstring'''


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






     @classmethod
     def     SCREAMING_SNAKE_CASE__  (							cls						:   Dict						,*lowerCamelCase__						:   List[str]						,**lowerCamelCase__						:   Tuple	)					->		Tuple:




           '''simple docstring'''


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

class 		UpperCamelCase__			(				metaclass=lowerCAmelCase_       ):



     '''simple docstring'''

     __snake_case   :     Any		     =      ["torch"]






     def __init__(							self						:   Union[str, Any]						,*lowerCamelCase__						:   List[str]						,**lowerCamelCase__						:   Optional[int]	)					->		Optional[Any]:




           '''simple docstring'''


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






     @classmethod
     def     SCREAMING_SNAKE_CASE__  (							cls						:   Tuple						,*lowerCamelCase__						:   List[Any]						,**lowerCamelCase__						:   Any	)					->		Dict:




           '''simple docstring'''


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






     @classmethod
     def     SCREAMING_SNAKE_CASE__  (							cls						:   Dict						,*lowerCamelCase__						:   str						,**lowerCamelCase__						:   Tuple	)					->		Optional[Any]:




           '''simple docstring'''


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

class 		UpperCamelCase__			(				metaclass=lowerCAmelCase_       ):



     '''simple docstring'''

     __snake_case   :     Optional[int]		     =      ["torch"]






     def __init__(							self						:   List[str]						,*lowerCamelCase__						:   int						,**lowerCamelCase__						:   List[str]	)					->		str:




           '''simple docstring'''


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






     @classmethod
     def     SCREAMING_SNAKE_CASE__  (							cls						:   Any						,*lowerCamelCase__						:   List[Any]						,**lowerCamelCase__						:   Union[str, Any]	)					->		Optional[Any]:




           '''simple docstring'''


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






     @classmethod
     def     SCREAMING_SNAKE_CASE__  (							cls						:   int						,*lowerCamelCase__						:   int						,**lowerCamelCase__						:   Any	)					->		Optional[int]:




           '''simple docstring'''


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

class 		UpperCamelCase__			(				metaclass=lowerCAmelCase_       ):



     '''simple docstring'''

     __snake_case   :     int		     =      ["torch"]






     def __init__(							self						:   Optional[int]						,*lowerCamelCase__						:   List[str]						,**lowerCamelCase__						:   List[str]	)					->		Optional[Any]:




           '''simple docstring'''


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






     @classmethod
     def     SCREAMING_SNAKE_CASE__  (							cls						:   Any						,*lowerCamelCase__						:   str						,**lowerCamelCase__						:   Optional[Any]	)					->		Optional[Any]:




           '''simple docstring'''


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






     @classmethod
     def     SCREAMING_SNAKE_CASE__  (							cls						:   Union[str, Any]						,*lowerCamelCase__						:   int						,**lowerCamelCase__						:   Dict	)					->		Optional[Any]:




           '''simple docstring'''


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

class 		UpperCamelCase__			(				metaclass=lowerCAmelCase_       ):



     '''simple docstring'''

     __snake_case   :     Tuple		     =      ["torch"]






     def __init__(							self						:   str						,*lowerCamelCase__						:   List[Any]						,**lowerCamelCase__						:   Optional[int]	)					->		Optional[Any]:




           '''simple docstring'''


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






     @classmethod
     def     SCREAMING_SNAKE_CASE__  (							cls						:   Optional[int]						,*lowerCamelCase__						:   Any						,**lowerCamelCase__						:   Optional[Any]	)					->		Optional[int]:




           '''simple docstring'''


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






     @classmethod
     def     SCREAMING_SNAKE_CASE__  (							cls						:   Dict						,*lowerCamelCase__						:   Optional[int]						,**lowerCamelCase__						:   Union[str, Any]	)					->		Tuple:




           '''simple docstring'''


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

class 		UpperCamelCase__			(				metaclass=lowerCAmelCase_       ):



     '''simple docstring'''

     __snake_case   :     Any		     =      ["torch"]






     def __init__(							self						:   int						,*lowerCamelCase__						:   int						,**lowerCamelCase__						:   str	)					->		Dict:




           '''simple docstring'''


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






     @classmethod
     def     SCREAMING_SNAKE_CASE__  (							cls						:   List[str]						,*lowerCamelCase__						:   List[Any]						,**lowerCamelCase__						:   Optional[Any]	)					->		List[Any]:




           '''simple docstring'''


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






     @classmethod
     def     SCREAMING_SNAKE_CASE__  (							cls						:   str						,*lowerCamelCase__						:   str						,**lowerCamelCase__						:   Optional[Any]	)					->		List[Any]:




           '''simple docstring'''


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

class 		UpperCamelCase__			(				metaclass=lowerCAmelCase_       ):



     '''simple docstring'''

     __snake_case   :     Union[str, Any]		     =      ["torch"]






     def __init__(							self						:   List[Any]						,*lowerCamelCase__						:   int						,**lowerCamelCase__						:   List[Any]	)					->		Optional[int]:




           '''simple docstring'''


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






     @classmethod
     def     SCREAMING_SNAKE_CASE__  (							cls						:   str						,*lowerCamelCase__						:   Optional[Any]						,**lowerCamelCase__						:   Any	)					->		List[Any]:




           '''simple docstring'''


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






     @classmethod
     def     SCREAMING_SNAKE_CASE__  (							cls						:   int						,*lowerCamelCase__						:   Any						,**lowerCamelCase__						:   List[str]	)					->		int:




           '''simple docstring'''


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

class 		UpperCamelCase__			(				metaclass=lowerCAmelCase_       ):



     '''simple docstring'''

     __snake_case   :     Dict		     =      ["torch"]






     def __init__(							self						:   int						,*lowerCamelCase__						:   List[Any]						,**lowerCamelCase__						:   List[Any]	)					->		Optional[int]:




           '''simple docstring'''


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






     @classmethod
     def     SCREAMING_SNAKE_CASE__  (							cls						:   Optional[Any]						,*lowerCamelCase__						:   List[Any]						,**lowerCamelCase__						:   int	)					->		Union[str, Any]:




           '''simple docstring'''


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






     @classmethod
     def     SCREAMING_SNAKE_CASE__  (							cls						:   Dict						,*lowerCamelCase__						:   int						,**lowerCamelCase__						:   Optional[Any]	)					->		Optional[Any]:




           '''simple docstring'''


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

class 		UpperCamelCase__			(				metaclass=lowerCAmelCase_       ):



     '''simple docstring'''

     __snake_case   :     Union[str, Any]		     =      ["torch"]






     def __init__(							self						:   List[str]						,*lowerCamelCase__						:   List[str]						,**lowerCamelCase__						:   Optional[int]	)					->		List[Any]:




           '''simple docstring'''


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






     @classmethod
     def     SCREAMING_SNAKE_CASE__  (							cls						:   Union[str, Any]						,*lowerCamelCase__						:   int						,**lowerCamelCase__						:   Optional[int]	)					->		List[Any]:




           '''simple docstring'''


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






     @classmethod
     def     SCREAMING_SNAKE_CASE__  (							cls						:   Any						,*lowerCamelCase__						:   Dict						,**lowerCamelCase__						:   Any	)					->		str:




           '''simple docstring'''


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

class 		UpperCamelCase__			(				metaclass=lowerCAmelCase_       ):



     '''simple docstring'''

     __snake_case   :     Any		     =      ["torch"]






     def __init__(							self						:   List[str]						,*lowerCamelCase__						:   List[str]						,**lowerCamelCase__						:   Tuple	)					->		Dict:




           '''simple docstring'''


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






     @classmethod
     def     SCREAMING_SNAKE_CASE__  (							cls						:   Dict						,*lowerCamelCase__						:   str						,**lowerCamelCase__						:   List[str]	)					->		Optional[Any]:




           '''simple docstring'''


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






     @classmethod
     def     SCREAMING_SNAKE_CASE__  (							cls						:   Tuple						,*lowerCamelCase__						:   str						,**lowerCamelCase__						:   List[Any]	)					->		Optional[int]:




           '''simple docstring'''


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

class 		UpperCamelCase__			(				metaclass=lowerCAmelCase_       ):



     '''simple docstring'''

     __snake_case   :     Optional[Any]		     =      ["torch"]






     def __init__(							self						:   Optional[int]						,*lowerCamelCase__						:   Dict						,**lowerCamelCase__						:   Optional[Any]	)					->		Dict:




           '''simple docstring'''


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






     @classmethod
     def     SCREAMING_SNAKE_CASE__  (							cls						:   Any						,*lowerCamelCase__						:   Tuple						,**lowerCamelCase__						:   Tuple	)					->		str:




           '''simple docstring'''


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






     @classmethod
     def     SCREAMING_SNAKE_CASE__  (							cls						:   Any						,*lowerCamelCase__						:   List[Any]						,**lowerCamelCase__						:   List[str]	)					->		Any:




           '''simple docstring'''


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









from typing import List, Optional, TypeVar

from .arrow_dataset import Dataset, _concatenate_map_style_datasets, _interleave_map_style_datasets
from .dataset_dict import DatasetDict, IterableDatasetDict
from .info import DatasetInfo
from .iterable_dataset import IterableDataset, _concatenate_iterable_datasets, _interleave_iterable_datasets
from .splits import NamedSplit
from .utils import logging
from .utils.py_utils import Literal


SCREAMING_SNAKE_CASE_						       =	logging.get_logger(__name__)


SCREAMING_SNAKE_CASE_						       =	TypeVar("""DatasetType""", Dataset, IterableDataset)



def        __lowercase       (				_SCREAMING_SNAKE_CASE			,						_SCREAMING_SNAKE_CASE = None			,						_SCREAMING_SNAKE_CASE = None			,						_SCREAMING_SNAKE_CASE = None			,						_SCREAMING_SNAKE_CASE = None			,						_SCREAMING_SNAKE_CASE = "first_exhausted"			,						)			->       DatasetType:


      '''simple docstring'''


      from .arrow_dataset import Dataset
      from .iterable_dataset import IterableDataset

      if not datasets:
            raise ValueError("""Unable to interleave an empty list of datasets."""     )
      for i, dataset in enumerate(_SCREAMING_SNAKE_CASE     ):
            if not isinstance(_SCREAMING_SNAKE_CASE			,						(Dataset, IterableDataset)     ):
                  if isinstance(_SCREAMING_SNAKE_CASE			,						(DatasetDict, IterableDatasetDict)     ):
                        if not dataset:
                              raise ValueError(
                                  F"""Expected a list of Dataset objects or a list of IterableDataset objects, but element at position {i} """
                                  """is an empty dataset dictionary."""     )
                        raise ValueError(
                            F"""Dataset at position {i} has at least one split: {list(_SCREAMING_SNAKE_CASE     )}\n"""
                            F"""Please pick one to interleave with the other datasets, for example: dataset['{next(iter(_SCREAMING_SNAKE_CASE     )     )}']"""     )
                  raise ValueError(
                      F"""Expected a list of Dataset objects or a list of IterableDataset objects, but element at position {i} is a {type(_SCREAMING_SNAKE_CASE     ).__name__}."""     )
            if i == 0:
                  SCREAMING_SNAKE_CASE, SCREAMING_SNAKE_CASE		=						(
                      (Dataset, IterableDataset) if isinstance(_SCREAMING_SNAKE_CASE			,						_SCREAMING_SNAKE_CASE     ) else (IterableDataset, Dataset)
                  )
            elif not isinstance(_SCREAMING_SNAKE_CASE			,						_SCREAMING_SNAKE_CASE     ):
                  raise ValueError(
                      F"""Unable to interleave a {dataset_type.__name__} (at position 0) with a {other_type.__name__} (at position {i}). Expected a list of Dataset objects or a list of IterableDataset objects."""     )
      if stopping_strategy not in ["first_exhausted", "all_exhausted"]:
            raise ValueError(F"""{stopping_strategy} is not supported. Please enter a valid stopping_strategy."""     )
      if dataset_type is Dataset:
            return _interleave_map_style_datasets(
                _SCREAMING_SNAKE_CASE			,						_SCREAMING_SNAKE_CASE			,						_SCREAMING_SNAKE_CASE			,						info=_SCREAMING_SNAKE_CASE			,						split=_SCREAMING_SNAKE_CASE			,						stopping_strategy=_SCREAMING_SNAKE_CASE     )
      else:
            return _interleave_iterable_datasets(
                _SCREAMING_SNAKE_CASE			,						_SCREAMING_SNAKE_CASE			,						_SCREAMING_SNAKE_CASE			,						info=_SCREAMING_SNAKE_CASE			,						split=_SCREAMING_SNAKE_CASE			,						stopping_strategy=_SCREAMING_SNAKE_CASE     )



def        __lowercase       (				_SCREAMING_SNAKE_CASE			,						_SCREAMING_SNAKE_CASE = None			,						_SCREAMING_SNAKE_CASE = None			,						_SCREAMING_SNAKE_CASE = 0			,						)			->       DatasetType:


      '''simple docstring'''


      if not dsets:
            raise ValueError("""Unable to concatenate an empty list of datasets."""     )
      for i, dataset in enumerate(_SCREAMING_SNAKE_CASE     ):
            if not isinstance(_SCREAMING_SNAKE_CASE			,						(Dataset, IterableDataset)     ):
                  if isinstance(_SCREAMING_SNAKE_CASE			,						(DatasetDict, IterableDatasetDict)     ):
                        if not dataset:
                              raise ValueError(
                                  F"""Expected a list of Dataset objects or a list of IterableDataset objects, but element at position {i} """
                                  """is an empty dataset dictionary."""     )
                        raise ValueError(
                            F"""Dataset at position {i} has at least one split: {list(_SCREAMING_SNAKE_CASE     )}\n"""
                            F"""Please pick one to interleave with the other datasets, for example: dataset['{next(iter(_SCREAMING_SNAKE_CASE     )     )}']"""     )
                  raise ValueError(
                      F"""Expected a list of Dataset objects or a list of IterableDataset objects, but element at position {i} is a {type(_SCREAMING_SNAKE_CASE     ).__name__}."""     )
            if i == 0:
                  SCREAMING_SNAKE_CASE, SCREAMING_SNAKE_CASE		=						(
                      (Dataset, IterableDataset) if isinstance(_SCREAMING_SNAKE_CASE			,						_SCREAMING_SNAKE_CASE     ) else (IterableDataset, Dataset)
                  )
            elif not isinstance(_SCREAMING_SNAKE_CASE			,						_SCREAMING_SNAKE_CASE     ):
                  raise ValueError(
                      F"""Unable to interleave a {dataset_type.__name__} (at position 0) with a {other_type.__name__} (at position {i}). Expected a list of Dataset objects or a list of IterableDataset objects."""     )
      if dataset_type is Dataset:
            return _concatenate_map_style_datasets(_SCREAMING_SNAKE_CASE			,						info=_SCREAMING_SNAKE_CASE			,						split=_SCREAMING_SNAKE_CASE			,						axis=_SCREAMING_SNAKE_CASE     )
      else:
            return _concatenate_iterable_datasets(_SCREAMING_SNAKE_CASE			,						info=_SCREAMING_SNAKE_CASE			,						split=_SCREAMING_SNAKE_CASE			,						axis=_SCREAMING_SNAKE_CASE     )


