






import argparse

import torch

from transformers import GPTaLMHeadModel, RobertaForMaskedLM


if __name__ == "__main__":
	lowerCamelCase     :							List[Any]    =argparse.ArgumentParser(
	    description=(
	        '''Extraction some layers of the full RobertaForMaskedLM or GPT2LMHeadModel for Transfer Learned'''
	        ''' Distillation'''
	    )
	)
	parser.add_argument('''--model_type''', default='''roberta''', choices=['''roberta''', '''gpt2'''])
	parser.add_argument('''--model_name''', default='''roberta-large''', type=str)
	parser.add_argument('''--dump_checkpoint''', default='''serialization_dir/tf_roberta_048131723.pth''', type=str)
	parser.add_argument('''--vocab_transform''', action='''store_true''')
	lowerCamelCase     :							int    =parser.parse_args()

	if args.model_type == "roberta":
		lowerCamelCase     :							int    =RobertaForMaskedLM.from_pretrained(args.model_name)
		lowerCamelCase     :							Tuple    ='''roberta'''
	elif args.model_type == "gpt2":
		lowerCamelCase     :							Optional[int]    =GPTaLMHeadModel.from_pretrained(args.model_name)
		lowerCamelCase     :							Dict    ='''transformer'''

	lowerCamelCase     :							Tuple    =model.state_dict()
	lowerCamelCase     :							Any    ={}

	# Embeddings #
	if args.model_type == "gpt2":
		for param_name in ["wte.weight", "wpe.weight"]:
			lowerCamelCase     :							Tuple    =state_dict[F"""{prefix}.{param_name}"""]
	else:
		for w in ["word_embeddings", "position_embeddings", "token_type_embeddings"]:
			lowerCamelCase     :							Tuple    =F"""{prefix}.embeddings.{w}.weight"""
			lowerCamelCase     :							Optional[int]    =state_dict[param_name]
		for w in ["weight", "bias"]:
			lowerCamelCase     :							Optional[Any]    =F"""{prefix}.embeddings.LayerNorm.{w}"""
			lowerCamelCase     :							Optional[int]    =state_dict[param_name]

		# Transformer Blocks #
	lowerCamelCase     :							int    =0
	for teacher_idx in [0, 2, 4, 7, 9, 11]:
		if args.model_type == "gpt2":
			for layer in ["ln_1", "attn.c_attn", "attn.c_proj", "ln_2", "mlp.c_fc", "mlp.c_proj"]:
				for w in ["weight", "bias"]:
					lowerCamelCase     :							int    =state_dict[
					    F"""{prefix}.h.{teacher_idx}.{layer}.{w}"""
					]
			lowerCamelCase     :							Optional[Any]    =state_dict[F"""{prefix}.h.{teacher_idx}.attn.bias"""]
		else:
			for layer in [
			    "attention.self.query",
			    "attention.self.key",
			    "attention.self.value",
			    "attention.output.dense",
			    "attention.output.LayerNorm",
			    "intermediate.dense",
			    "output.dense",
			    "output.LayerNorm",
			]:
				for w in ["weight", "bias"]:
					lowerCamelCase     :							Dict    =state_dict[
					    F"""{prefix}.encoder.layer.{teacher_idx}.{layer}.{w}"""
					]
		std_idx += 1

	# Language Modeling Head ###s
	if args.model_type == "roberta":
		for layer in ["lm_head.decoder.weight", "lm_head.bias"]:
			lowerCamelCase     :							Any    =state_dict[F"""{layer}"""]
		if args.vocab_transform:
			for w in ["weight", "bias"]:
				lowerCamelCase     :							Dict    =state_dict[F"""lm_head.dense.{w}"""]
				lowerCamelCase     :							List[Any]    =state_dict[F"""lm_head.layer_norm.{w}"""]
	elif args.model_type == "gpt2":
		for w in ["weight", "bias"]:
			lowerCamelCase     :							List[Any]    =state_dict[F"""{prefix}.ln_f.{w}"""]
		lowerCamelCase     :							Tuple    =state_dict['''lm_head.weight''']

	print(F"""N layers selected for distillation: {std_idx}""")
	print(F"""Number of params transferred for distillation: {len(compressed_sd.keys())}""")

	print(F"""Save transferred checkpoint to {args.dump_checkpoint}.""")
	torch.save(compressed_sd, args.dump_checkpoint)







from ..utils import DummyObject, requires_backends





class       __a  (   metaclass=A__	):
 _lowerCAmelCase	:	str				=			['''torch''']







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


      '''simple docstring'''






      requires_backends(self							,       ["torch"]						)







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


      '''simple docstring'''






      requires_backends(cls							,       ["torch"]						)







 @classmethod
 def  __lowercase (		cls :       int							,       *SCREAMING_SNAKE_CASE :       List[str]							,       **SCREAMING_SNAKE_CASE :       Union[str, Any]						):


      '''simple docstring'''






      requires_backends(cls							,       ["torch"]						)







class       __a  (   metaclass=A__	):
 _lowerCAmelCase	:	List[Any]				=			['''torch''']







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


      '''simple docstring'''






      requires_backends(self							,       ["torch"]						)







 @classmethod
 def  __lowercase (		cls :       Tuple							,       *SCREAMING_SNAKE_CASE :       List[str]							,       **SCREAMING_SNAKE_CASE :       Any						):


      '''simple docstring'''






      requires_backends(cls							,       ["torch"]						)







 @classmethod
 def  __lowercase (		cls :       List[str]							,       *SCREAMING_SNAKE_CASE :       Optional[Any]							,       **SCREAMING_SNAKE_CASE :       Optional[Any]						):


      '''simple docstring'''






      requires_backends(cls							,       ["torch"]						)







class       __a  (   metaclass=A__	):
 _lowerCAmelCase	:	Union[str, Any]				=			['''torch''']







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


      '''simple docstring'''






      requires_backends(self							,       ["torch"]						)







 @classmethod
 def  __lowercase (		cls :       int							,       *SCREAMING_SNAKE_CASE :       List[str]							,       **SCREAMING_SNAKE_CASE :       List[str]						):


      '''simple docstring'''






      requires_backends(cls							,       ["torch"]						)







 @classmethod
 def  __lowercase (		cls :       Dict							,       *SCREAMING_SNAKE_CASE :       Dict							,       **SCREAMING_SNAKE_CASE :       str						):


      '''simple docstring'''






      requires_backends(cls							,       ["torch"]						)







class       __a  (   metaclass=A__	):
 _lowerCAmelCase	:	Tuple				=			['''torch''']







 def __init__(		self :       str							,       *SCREAMING_SNAKE_CASE :       str							,       **SCREAMING_SNAKE_CASE :       Tuple						):


      '''simple docstring'''






      requires_backends(self							,       ["torch"]						)







 @classmethod
 def  __lowercase (		cls :       Optional[int]							,       *SCREAMING_SNAKE_CASE :       int							,       **SCREAMING_SNAKE_CASE :       Any						):


      '''simple docstring'''






      requires_backends(cls							,       ["torch"]						)







 @classmethod
 def  __lowercase (		cls :       Optional[int]							,       *SCREAMING_SNAKE_CASE :       Optional[Any]							,       **SCREAMING_SNAKE_CASE :       Tuple						):


      '''simple docstring'''






      requires_backends(cls							,       ["torch"]						)







class       __a  (   metaclass=A__	):
 _lowerCAmelCase	:	List[str]				=			['''torch''']







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


      '''simple docstring'''






      requires_backends(self							,       ["torch"]						)







 @classmethod
 def  __lowercase (		cls :       Dict							,       *SCREAMING_SNAKE_CASE :       Union[str, Any]							,       **SCREAMING_SNAKE_CASE :       Tuple						):


      '''simple docstring'''






      requires_backends(cls							,       ["torch"]						)







 @classmethod
 def  __lowercase (		cls :       Any							,       *SCREAMING_SNAKE_CASE :       Dict							,       **SCREAMING_SNAKE_CASE :       Optional[int]						):


      '''simple docstring'''






      requires_backends(cls							,       ["torch"]						)







class       __a  (   metaclass=A__	):
 _lowerCAmelCase	:	Dict				=			['''torch''']







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


      '''simple docstring'''






      requires_backends(self							,       ["torch"]						)







 @classmethod
 def  __lowercase (		cls :       List[Any]							,       *SCREAMING_SNAKE_CASE :       Dict							,       **SCREAMING_SNAKE_CASE :       List[Any]						):


      '''simple docstring'''






      requires_backends(cls							,       ["torch"]						)







 @classmethod
 def  __lowercase (		cls :       Dict							,       *SCREAMING_SNAKE_CASE :       Union[str, Any]							,       **SCREAMING_SNAKE_CASE :       Any						):


      '''simple docstring'''






      requires_backends(cls							,       ["torch"]						)







class       __a  (   metaclass=A__	):
 _lowerCAmelCase	:	Dict				=			['''torch''']







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


      '''simple docstring'''






      requires_backends(self							,       ["torch"]						)







 @classmethod
 def  __lowercase (		cls :       List[str]							,       *SCREAMING_SNAKE_CASE :       str							,       **SCREAMING_SNAKE_CASE :       List[Any]						):


      '''simple docstring'''






      requires_backends(cls							,       ["torch"]						)







 @classmethod
 def  __lowercase (		cls :       Dict							,       *SCREAMING_SNAKE_CASE :       List[str]							,       **SCREAMING_SNAKE_CASE :       str						):


      '''simple docstring'''






      requires_backends(cls							,       ["torch"]						)







class       __a  (   metaclass=A__	):
 _lowerCAmelCase	:	Any				=			['''torch''']







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


      '''simple docstring'''






      requires_backends(self							,       ["torch"]						)







 @classmethod
 def  __lowercase (		cls :       int							,       *SCREAMING_SNAKE_CASE :       Optional[int]							,       **SCREAMING_SNAKE_CASE :       List[Any]						):


      '''simple docstring'''






      requires_backends(cls							,       ["torch"]						)







 @classmethod
 def  __lowercase (		cls :       List[str]							,       *SCREAMING_SNAKE_CASE :       Optional[Any]							,       **SCREAMING_SNAKE_CASE :       List[Any]						):


      '''simple docstring'''






      requires_backends(cls							,       ["torch"]						)







class       __a  (   metaclass=A__	):
 _lowerCAmelCase	:	List[Any]				=			['''torch''']







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


      '''simple docstring'''






      requires_backends(self							,       ["torch"]						)







 @classmethod
 def  __lowercase (		cls :       Any							,       *SCREAMING_SNAKE_CASE :       Optional[Any]							,       **SCREAMING_SNAKE_CASE :       str						):


      '''simple docstring'''






      requires_backends(cls							,       ["torch"]						)







 @classmethod
 def  __lowercase (		cls :       Dict							,       *SCREAMING_SNAKE_CASE :       Tuple							,       **SCREAMING_SNAKE_CASE :       Union[str, Any]						):


      '''simple docstring'''






      requires_backends(cls							,       ["torch"]						)







class       __a  (   metaclass=A__	):
 _lowerCAmelCase	:	Dict				=			['''torch''']







 def __init__(		self :       Dict							,       *SCREAMING_SNAKE_CASE :       int							,       **SCREAMING_SNAKE_CASE :       List[str]						):


      '''simple docstring'''






      requires_backends(self							,       ["torch"]						)







 @classmethod
 def  __lowercase (		cls :       Optional[Any]							,       *SCREAMING_SNAKE_CASE :       int							,       **SCREAMING_SNAKE_CASE :       int						):


      '''simple docstring'''






      requires_backends(cls							,       ["torch"]						)







 @classmethod
 def  __lowercase (		cls :       List[Any]							,       *SCREAMING_SNAKE_CASE :       List[Any]							,       **SCREAMING_SNAKE_CASE :       int						):


      '''simple docstring'''






      requires_backends(cls							,       ["torch"]						)







class       __a  (   metaclass=A__	):
 _lowerCAmelCase	:	Optional[int]				=			['''torch''']







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


      '''simple docstring'''






      requires_backends(self							,       ["torch"]						)







 @classmethod
 def  __lowercase (		cls :       List[Any]							,       *SCREAMING_SNAKE_CASE :       Dict							,       **SCREAMING_SNAKE_CASE :       str						):


      '''simple docstring'''






      requires_backends(cls							,       ["torch"]						)







 @classmethod
 def  __lowercase (		cls :       Any							,       *SCREAMING_SNAKE_CASE :       Union[str, Any]							,       **SCREAMING_SNAKE_CASE :       Dict						):


      '''simple docstring'''






      requires_backends(cls							,       ["torch"]						)







def 		SCREAMING_SNAKE_CASE							( *__lowerCAmelCase ,   **__lowerCAmelCase      )			->     int:
     requires_backends(__lowerCAmelCase ,   ["torch"]      )







def 		SCREAMING_SNAKE_CASE							( *__lowerCAmelCase ,   **__lowerCAmelCase      )			->     Optional[Any]:
     requires_backends(__lowerCAmelCase ,   ["torch"]      )







def 		SCREAMING_SNAKE_CASE							( *__lowerCAmelCase ,   **__lowerCAmelCase      )			->     Optional[Any]:
     requires_backends(__lowerCAmelCase ,   ["torch"]      )







def 		SCREAMING_SNAKE_CASE							( *__lowerCAmelCase ,   **__lowerCAmelCase      )			->     Union[str, Any]:
     requires_backends(__lowerCAmelCase ,   ["torch"]      )







def 		SCREAMING_SNAKE_CASE							( *__lowerCAmelCase ,   **__lowerCAmelCase      )			->     Any:
     requires_backends(__lowerCAmelCase ,   ["torch"]      )







def 		SCREAMING_SNAKE_CASE							( *__lowerCAmelCase ,   **__lowerCAmelCase      )			->     Dict:
     requires_backends(__lowerCAmelCase ,   ["torch"]      )







def 		SCREAMING_SNAKE_CASE							( *__lowerCAmelCase ,   **__lowerCAmelCase      )			->     List[Any]:
     requires_backends(__lowerCAmelCase ,   ["torch"]      )





class       __a  (   metaclass=A__	):
 _lowerCAmelCase	:	List[str]				=			['''torch''']







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


      '''simple docstring'''






      requires_backends(self							,       ["torch"]						)







 @classmethod
 def  __lowercase (		cls :       Any							,       *SCREAMING_SNAKE_CASE :       int							,       **SCREAMING_SNAKE_CASE :       Any						):


      '''simple docstring'''






      requires_backends(cls							,       ["torch"]						)







 @classmethod
 def  __lowercase (		cls :       Any							,       *SCREAMING_SNAKE_CASE :       str							,       **SCREAMING_SNAKE_CASE :       Optional[int]						):


      '''simple docstring'''






      requires_backends(cls							,       ["torch"]						)







class       __a  (   metaclass=A__	):
 _lowerCAmelCase	:	Optional[int]				=			['''torch''']







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


      '''simple docstring'''






      requires_backends(self							,       ["torch"]						)







 @classmethod
 def  __lowercase (		cls :       Optional[int]							,       *SCREAMING_SNAKE_CASE :       Union[str, Any]							,       **SCREAMING_SNAKE_CASE :       Optional[Any]						):


      '''simple docstring'''






      requires_backends(cls							,       ["torch"]						)







 @classmethod
 def  __lowercase (		cls :       Union[str, Any]							,       *SCREAMING_SNAKE_CASE :       Optional[Any]							,       **SCREAMING_SNAKE_CASE :       Dict						):


      '''simple docstring'''






      requires_backends(cls							,       ["torch"]						)







class       __a  (   metaclass=A__	):
 _lowerCAmelCase	:	str				=			['''torch''']







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


      '''simple docstring'''






      requires_backends(self							,       ["torch"]						)







 @classmethod
 def  __lowercase (		cls :       List[str]							,       *SCREAMING_SNAKE_CASE :       int							,       **SCREAMING_SNAKE_CASE :       List[Any]						):


      '''simple docstring'''






      requires_backends(cls							,       ["torch"]						)







 @classmethod
 def  __lowercase (		cls :       str							,       *SCREAMING_SNAKE_CASE :       str							,       **SCREAMING_SNAKE_CASE :       List[Any]						):


      '''simple docstring'''






      requires_backends(cls							,       ["torch"]						)







class       __a  (   metaclass=A__	):
 _lowerCAmelCase	:	Any				=			['''torch''']







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


      '''simple docstring'''






      requires_backends(self							,       ["torch"]						)







 @classmethod
 def  __lowercase (		cls :       Optional[Any]							,       *SCREAMING_SNAKE_CASE :       Union[str, Any]							,       **SCREAMING_SNAKE_CASE :       List[str]						):


      '''simple docstring'''






      requires_backends(cls							,       ["torch"]						)







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


      '''simple docstring'''






      requires_backends(cls							,       ["torch"]						)







class       __a  (   metaclass=A__	):
 _lowerCAmelCase	:	Tuple				=			['''torch''']







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


      '''simple docstring'''






      requires_backends(self							,       ["torch"]						)







 @classmethod
 def  __lowercase (		cls :       int							,       *SCREAMING_SNAKE_CASE :       Any							,       **SCREAMING_SNAKE_CASE :       Union[str, Any]						):


      '''simple docstring'''






      requires_backends(cls							,       ["torch"]						)







 @classmethod
 def  __lowercase (		cls :       str							,       *SCREAMING_SNAKE_CASE :       List[str]							,       **SCREAMING_SNAKE_CASE :       Optional[int]						):


      '''simple docstring'''






      requires_backends(cls							,       ["torch"]						)







class       __a  (   metaclass=A__	):
 _lowerCAmelCase	:	str				=			['''torch''']







 def __init__(		self :       Any							,       *SCREAMING_SNAKE_CASE :       List[Any]							,       **SCREAMING_SNAKE_CASE :       Tuple						):


      '''simple docstring'''






      requires_backends(self							,       ["torch"]						)







 @classmethod
 def  __lowercase (		cls :       str							,       *SCREAMING_SNAKE_CASE :       Any							,       **SCREAMING_SNAKE_CASE :       Optional[int]						):


      '''simple docstring'''






      requires_backends(cls							,       ["torch"]						)







 @classmethod
 def  __lowercase (		cls :       List[str]							,       *SCREAMING_SNAKE_CASE :       Union[str, Any]							,       **SCREAMING_SNAKE_CASE :       Union[str, Any]						):


      '''simple docstring'''






      requires_backends(cls							,       ["torch"]						)







class       __a  (   metaclass=A__	):
 _lowerCAmelCase	:	Any				=			['''torch''']







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


      '''simple docstring'''






      requires_backends(self							,       ["torch"]						)







 @classmethod
 def  __lowercase (		cls :       str							,       *SCREAMING_SNAKE_CASE :       List[Any]							,       **SCREAMING_SNAKE_CASE :       Optional[Any]						):


      '''simple docstring'''






      requires_backends(cls							,       ["torch"]						)







 @classmethod
 def  __lowercase (		cls :       List[str]							,       *SCREAMING_SNAKE_CASE :       Any							,       **SCREAMING_SNAKE_CASE :       Optional[Any]						):


      '''simple docstring'''






      requires_backends(cls							,       ["torch"]						)







class       __a  (   metaclass=A__	):
 _lowerCAmelCase	:	Tuple				=			['''torch''']







 def __init__(		self :       Dict							,       *SCREAMING_SNAKE_CASE :       int							,       **SCREAMING_SNAKE_CASE :       int						):


      '''simple docstring'''






      requires_backends(self							,       ["torch"]						)







 @classmethod
 def  __lowercase (		cls :       int							,       *SCREAMING_SNAKE_CASE :       Any							,       **SCREAMING_SNAKE_CASE :       List[str]						):


      '''simple docstring'''






      requires_backends(cls							,       ["torch"]						)







 @classmethod
 def  __lowercase (		cls :       Dict							,       *SCREAMING_SNAKE_CASE :       List[str]							,       **SCREAMING_SNAKE_CASE :       Optional[int]						):


      '''simple docstring'''






      requires_backends(cls							,       ["torch"]						)







class       __a  (   metaclass=A__	):
 _lowerCAmelCase	:	int				=			['''torch''']







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


      '''simple docstring'''






      requires_backends(self							,       ["torch"]						)







 @classmethod
 def  __lowercase (		cls :       Dict							,       *SCREAMING_SNAKE_CASE :       str							,       **SCREAMING_SNAKE_CASE :       Optional[Any]						):


      '''simple docstring'''






      requires_backends(cls							,       ["torch"]						)







 @classmethod
 def  __lowercase (		cls :       Union[str, Any]							,       *SCREAMING_SNAKE_CASE :       Tuple							,       **SCREAMING_SNAKE_CASE :       Any						):


      '''simple docstring'''






      requires_backends(cls							,       ["torch"]						)







class       __a  (   metaclass=A__	):
 _lowerCAmelCase	:	Optional[int]				=			['''torch''']







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


      '''simple docstring'''






      requires_backends(self							,       ["torch"]						)







 @classmethod
 def  __lowercase (		cls :       str							,       *SCREAMING_SNAKE_CASE :       Optional[Any]							,       **SCREAMING_SNAKE_CASE :       int						):


      '''simple docstring'''






      requires_backends(cls							,       ["torch"]						)







 @classmethod
 def  __lowercase (		cls :       Union[str, Any]							,       *SCREAMING_SNAKE_CASE :       Dict							,       **SCREAMING_SNAKE_CASE :       Optional[Any]						):


      '''simple docstring'''






      requires_backends(cls							,       ["torch"]						)







class       __a  (   metaclass=A__	):
 _lowerCAmelCase	:	List[str]				=			['''torch''']







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


      '''simple docstring'''






      requires_backends(self							,       ["torch"]						)







 @classmethod
 def  __lowercase (		cls :       Any							,       *SCREAMING_SNAKE_CASE :       List[Any]							,       **SCREAMING_SNAKE_CASE :       Optional[Any]						):


      '''simple docstring'''






      requires_backends(cls							,       ["torch"]						)







 @classmethod
 def  __lowercase (		cls :       List[Any]							,       *SCREAMING_SNAKE_CASE :       List[str]							,       **SCREAMING_SNAKE_CASE :       Union[str, Any]						):


      '''simple docstring'''






      requires_backends(cls							,       ["torch"]						)







class       __a  (   metaclass=A__	):
 _lowerCAmelCase	:	Any				=			['''torch''']







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


      '''simple docstring'''






      requires_backends(self							,       ["torch"]						)







 @classmethod
 def  __lowercase (		cls :       str							,       *SCREAMING_SNAKE_CASE :       List[Any]							,       **SCREAMING_SNAKE_CASE :       str						):


      '''simple docstring'''






      requires_backends(cls							,       ["torch"]						)







 @classmethod
 def  __lowercase (		cls :       int							,       *SCREAMING_SNAKE_CASE :       Tuple							,       **SCREAMING_SNAKE_CASE :       str						):


      '''simple docstring'''






      requires_backends(cls							,       ["torch"]						)







class       __a  (   metaclass=A__	):
 _lowerCAmelCase	:	Any				=			['''torch''']







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


      '''simple docstring'''






      requires_backends(self							,       ["torch"]						)







 @classmethod
 def  __lowercase (		cls :       Tuple							,       *SCREAMING_SNAKE_CASE :       int							,       **SCREAMING_SNAKE_CASE :       Optional[Any]						):


      '''simple docstring'''






      requires_backends(cls							,       ["torch"]						)







 @classmethod
 def  __lowercase (		cls :       List[str]							,       *SCREAMING_SNAKE_CASE :       Union[str, Any]							,       **SCREAMING_SNAKE_CASE :       List[Any]						):


      '''simple docstring'''






      requires_backends(cls							,       ["torch"]						)







class       __a  (   metaclass=A__	):
 _lowerCAmelCase	:	Tuple				=			['''torch''']







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


      '''simple docstring'''






      requires_backends(self							,       ["torch"]						)







 @classmethod
 def  __lowercase (		cls :       Any							,       *SCREAMING_SNAKE_CASE :       Dict							,       **SCREAMING_SNAKE_CASE :       Optional[int]						):


      '''simple docstring'''






      requires_backends(cls							,       ["torch"]						)







 @classmethod
 def  __lowercase (		cls :       str							,       *SCREAMING_SNAKE_CASE :       Any							,       **SCREAMING_SNAKE_CASE :       Any						):


      '''simple docstring'''






      requires_backends(cls							,       ["torch"]						)







class       __a  (   metaclass=A__	):
 _lowerCAmelCase	:	Union[str, Any]				=			['''torch''']







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


      '''simple docstring'''






      requires_backends(self							,       ["torch"]						)







 @classmethod
 def  __lowercase (		cls :       Optional[int]							,       *SCREAMING_SNAKE_CASE :       Optional[Any]							,       **SCREAMING_SNAKE_CASE :       Tuple						):


      '''simple docstring'''






      requires_backends(cls							,       ["torch"]						)







 @classmethod
 def  __lowercase (		cls :       Any							,       *SCREAMING_SNAKE_CASE :       Any							,       **SCREAMING_SNAKE_CASE :       int						):


      '''simple docstring'''






      requires_backends(cls							,       ["torch"]						)







class       __a  (   metaclass=A__	):
 _lowerCAmelCase	:	Any				=			['''torch''']







 def __init__(		self :       int							,       *SCREAMING_SNAKE_CASE :       int							,       **SCREAMING_SNAKE_CASE :       Tuple						):


      '''simple docstring'''






      requires_backends(self							,       ["torch"]						)







 @classmethod
 def  __lowercase (		cls :       Any							,       *SCREAMING_SNAKE_CASE :       Optional[Any]							,       **SCREAMING_SNAKE_CASE :       int						):


      '''simple docstring'''






      requires_backends(cls							,       ["torch"]						)







 @classmethod
 def  __lowercase (		cls :       Any							,       *SCREAMING_SNAKE_CASE :       Tuple							,       **SCREAMING_SNAKE_CASE :       Any						):


      '''simple docstring'''






      requires_backends(cls							,       ["torch"]						)







class       __a  (   metaclass=A__	):
 _lowerCAmelCase	:	Union[str, Any]				=			['''torch''']







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


      '''simple docstring'''






      requires_backends(self							,       ["torch"]						)







 @classmethod
 def  __lowercase (		cls :       List[str]							,       *SCREAMING_SNAKE_CASE :       List[Any]							,       **SCREAMING_SNAKE_CASE :       str						):


      '''simple docstring'''






      requires_backends(cls							,       ["torch"]						)







 @classmethod
 def  __lowercase (		cls :       List[Any]							,       *SCREAMING_SNAKE_CASE :       Tuple							,       **SCREAMING_SNAKE_CASE :       List[Any]						):


      '''simple docstring'''






      requires_backends(cls							,       ["torch"]						)







class       __a  (   metaclass=A__	):
 _lowerCAmelCase	:	Optional[int]				=			['''torch''']







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


      '''simple docstring'''






      requires_backends(self							,       ["torch"]						)







 @classmethod
 def  __lowercase (		cls :       Tuple							,       *SCREAMING_SNAKE_CASE :       int							,       **SCREAMING_SNAKE_CASE :       Optional[int]						):


      '''simple docstring'''






      requires_backends(cls							,       ["torch"]						)







 @classmethod
 def  __lowercase (		cls :       str							,       *SCREAMING_SNAKE_CASE :       int							,       **SCREAMING_SNAKE_CASE :       Optional[int]						):


      '''simple docstring'''






      requires_backends(cls							,       ["torch"]						)







class       __a  (   metaclass=A__	):
 _lowerCAmelCase	:	List[Any]				=			['''torch''']







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


      '''simple docstring'''






      requires_backends(self							,       ["torch"]						)







 @classmethod
 def  __lowercase (		cls :       Dict							,       *SCREAMING_SNAKE_CASE :       Any							,       **SCREAMING_SNAKE_CASE :       Any						):


      '''simple docstring'''






      requires_backends(cls							,       ["torch"]						)







 @classmethod
 def  __lowercase (		cls :       str							,       *SCREAMING_SNAKE_CASE :       Dict							,       **SCREAMING_SNAKE_CASE :       Optional[int]						):


      '''simple docstring'''






      requires_backends(cls							,       ["torch"]						)







class       __a  (   metaclass=A__	):
 _lowerCAmelCase	:	Optional[int]				=			['''torch''']







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


      '''simple docstring'''






      requires_backends(self							,       ["torch"]						)







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


      '''simple docstring'''






      requires_backends(cls							,       ["torch"]						)







 @classmethod
 def  __lowercase (		cls :       Optional[int]							,       *SCREAMING_SNAKE_CASE :       str							,       **SCREAMING_SNAKE_CASE :       int						):


      '''simple docstring'''






      requires_backends(cls							,       ["torch"]						)







class       __a  (   metaclass=A__	):
 _lowerCAmelCase	:	str				=			['''torch''']







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


      '''simple docstring'''






      requires_backends(self							,       ["torch"]						)







 @classmethod
 def  __lowercase (		cls :       List[Any]							,       *SCREAMING_SNAKE_CASE :       int							,       **SCREAMING_SNAKE_CASE :       List[str]						):


      '''simple docstring'''






      requires_backends(cls							,       ["torch"]						)







 @classmethod
 def  __lowercase (		cls :       Tuple							,       *SCREAMING_SNAKE_CASE :       Dict							,       **SCREAMING_SNAKE_CASE :       str						):


      '''simple docstring'''






      requires_backends(cls							,       ["torch"]						)







class       __a  (   metaclass=A__	):
 _lowerCAmelCase	:	Tuple				=			['''torch''']







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


      '''simple docstring'''






      requires_backends(self							,       ["torch"]						)







 @classmethod
 def  __lowercase (		cls :       Optional[int]							,       *SCREAMING_SNAKE_CASE :       Tuple							,       **SCREAMING_SNAKE_CASE :       Any						):


      '''simple docstring'''






      requires_backends(cls							,       ["torch"]						)







 @classmethod
 def  __lowercase (		cls :       Dict							,       *SCREAMING_SNAKE_CASE :       Optional[int]							,       **SCREAMING_SNAKE_CASE :       str						):


      '''simple docstring'''






      requires_backends(cls							,       ["torch"]						)







class       __a  (   metaclass=A__	):
 _lowerCAmelCase	:	Dict				=			['''torch''']







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


      '''simple docstring'''






      requires_backends(self							,       ["torch"]						)







 @classmethod
 def  __lowercase (		cls :       str							,       *SCREAMING_SNAKE_CASE :       str							,       **SCREAMING_SNAKE_CASE :       Optional[int]						):


      '''simple docstring'''






      requires_backends(cls							,       ["torch"]						)







 @classmethod
 def  __lowercase (		cls :       Union[str, Any]							,       *SCREAMING_SNAKE_CASE :       Union[str, Any]							,       **SCREAMING_SNAKE_CASE :       int						):


      '''simple docstring'''






      requires_backends(cls							,       ["torch"]						)







class       __a  (   metaclass=A__	):
 _lowerCAmelCase	:	Dict				=			['''torch''']







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


      '''simple docstring'''






      requires_backends(self							,       ["torch"]						)







 @classmethod
 def  __lowercase (		cls :       int							,       *SCREAMING_SNAKE_CASE :       Dict							,       **SCREAMING_SNAKE_CASE :       List[Any]						):


      '''simple docstring'''






      requires_backends(cls							,       ["torch"]						)







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


      '''simple docstring'''






      requires_backends(cls							,       ["torch"]						)







class       __a  (   metaclass=A__	):
 _lowerCAmelCase	:	str				=			['''torch''']







 def __init__(		self :       Tuple							,       *SCREAMING_SNAKE_CASE :       Dict							,       **SCREAMING_SNAKE_CASE :       int						):


      '''simple docstring'''






      requires_backends(self							,       ["torch"]						)







 @classmethod
 def  __lowercase (		cls :       Optional[int]							,       *SCREAMING_SNAKE_CASE :       Dict							,       **SCREAMING_SNAKE_CASE :       List[str]						):


      '''simple docstring'''






      requires_backends(cls							,       ["torch"]						)







 @classmethod
 def  __lowercase (		cls :       Optional[int]							,       *SCREAMING_SNAKE_CASE :       List[str]							,       **SCREAMING_SNAKE_CASE :       int						):


      '''simple docstring'''






      requires_backends(cls							,       ["torch"]						)







class       __a  (   metaclass=A__	):
 _lowerCAmelCase	:	List[Any]				=			['''torch''']







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


      '''simple docstring'''






      requires_backends(self							,       ["torch"]						)







 @classmethod
 def  __lowercase (		cls :       Any							,       *SCREAMING_SNAKE_CASE :       Optional[Any]							,       **SCREAMING_SNAKE_CASE :       List[str]						):


      '''simple docstring'''






      requires_backends(cls							,       ["torch"]						)







 @classmethod
 def  __lowercase (		cls :       Union[str, Any]							,       *SCREAMING_SNAKE_CASE :       Dict							,       **SCREAMING_SNAKE_CASE :       Union[str, Any]						):


      '''simple docstring'''






      requires_backends(cls							,       ["torch"]						)







class       __a  (   metaclass=A__	):
 _lowerCAmelCase	:	Union[str, Any]				=			['''torch''']







 def __init__(		self :       Any							,       *SCREAMING_SNAKE_CASE :       int							,       **SCREAMING_SNAKE_CASE :       Any						):


      '''simple docstring'''






      requires_backends(self							,       ["torch"]						)







 @classmethod
 def  __lowercase (		cls :       int							,       *SCREAMING_SNAKE_CASE :       str							,       **SCREAMING_SNAKE_CASE :       Any						):


      '''simple docstring'''






      requires_backends(cls							,       ["torch"]						)







 @classmethod
 def  __lowercase (		cls :       Dict							,       *SCREAMING_SNAKE_CASE :       Any							,       **SCREAMING_SNAKE_CASE :       Dict						):


      '''simple docstring'''






      requires_backends(cls							,       ["torch"]						)







class       __a  (   metaclass=A__	):
 _lowerCAmelCase	:	str				=			['''torch''']







 def __init__(		self :       Dict							,       *SCREAMING_SNAKE_CASE :       Tuple							,       **SCREAMING_SNAKE_CASE :       List[str]						):


      '''simple docstring'''






      requires_backends(self							,       ["torch"]						)







 @classmethod
 def  __lowercase (		cls :       List[Any]							,       *SCREAMING_SNAKE_CASE :       int							,       **SCREAMING_SNAKE_CASE :       Optional[Any]						):


      '''simple docstring'''






      requires_backends(cls							,       ["torch"]						)







 @classmethod
 def  __lowercase (		cls :       Dict							,       *SCREAMING_SNAKE_CASE :       Tuple							,       **SCREAMING_SNAKE_CASE :       int						):


      '''simple docstring'''






      requires_backends(cls							,       ["torch"]						)







class       __a  (   metaclass=A__	):
 _lowerCAmelCase	:	Tuple				=			['''torch''']







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


      '''simple docstring'''






      requires_backends(self							,       ["torch"]						)







 @classmethod
 def  __lowercase (		cls :       Dict							,       *SCREAMING_SNAKE_CASE :       Dict							,       **SCREAMING_SNAKE_CASE :       Optional[int]						):


      '''simple docstring'''






      requires_backends(cls							,       ["torch"]						)







 @classmethod
 def  __lowercase (		cls :       Dict							,       *SCREAMING_SNAKE_CASE :       int							,       **SCREAMING_SNAKE_CASE :       List[Any]						):


      '''simple docstring'''






      requires_backends(cls							,       ["torch"]						)







class       __a  (   metaclass=A__	):
 _lowerCAmelCase	:	Dict				=			['''torch''']







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


      '''simple docstring'''






      requires_backends(self							,       ["torch"]						)







 @classmethod
 def  __lowercase (		cls :       Any							,       *SCREAMING_SNAKE_CASE :       Union[str, Any]							,       **SCREAMING_SNAKE_CASE :       Optional[Any]						):


      '''simple docstring'''






      requires_backends(cls							,       ["torch"]						)







 @classmethod
 def  __lowercase (		cls :       Tuple							,       *SCREAMING_SNAKE_CASE :       Dict							,       **SCREAMING_SNAKE_CASE :       Optional[Any]						):


      '''simple docstring'''






      requires_backends(cls							,       ["torch"]						)







class       __a  (   metaclass=A__	):
 _lowerCAmelCase	:	Union[str, Any]				=			['''torch''']







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


      '''simple docstring'''






      requires_backends(self							,       ["torch"]						)







 @classmethod
 def  __lowercase (		cls :       Tuple							,       *SCREAMING_SNAKE_CASE :       Any							,       **SCREAMING_SNAKE_CASE :       List[str]						):


      '''simple docstring'''






      requires_backends(cls							,       ["torch"]						)







 @classmethod
 def  __lowercase (		cls :       Any							,       *SCREAMING_SNAKE_CASE :       Any							,       **SCREAMING_SNAKE_CASE :       Optional[int]						):


      '''simple docstring'''






      requires_backends(cls							,       ["torch"]						)







class       __a  (   metaclass=A__	):
 _lowerCAmelCase	:	Tuple				=			['''torch''']







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


      '''simple docstring'''






      requires_backends(self							,       ["torch"]						)







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


      '''simple docstring'''






      requires_backends(cls							,       ["torch"]						)







 @classmethod
 def  __lowercase (		cls :       Optional[int]							,       *SCREAMING_SNAKE_CASE :       Union[str, Any]							,       **SCREAMING_SNAKE_CASE :       Optional[int]						):


      '''simple docstring'''






      requires_backends(cls							,       ["torch"]						)







class       __a  (   metaclass=A__	):
 _lowerCAmelCase	:	Dict				=			['''torch''']







 def __init__(		self :       str							,       *SCREAMING_SNAKE_CASE :       Any							,       **SCREAMING_SNAKE_CASE :       Any						):


      '''simple docstring'''






      requires_backends(self							,       ["torch"]						)







 @classmethod
 def  __lowercase (		cls :       Dict							,       *SCREAMING_SNAKE_CASE :       Dict							,       **SCREAMING_SNAKE_CASE :       Union[str, Any]						):


      '''simple docstring'''






      requires_backends(cls							,       ["torch"]						)







 @classmethod
 def  __lowercase (		cls :       Dict							,       *SCREAMING_SNAKE_CASE :       int							,       **SCREAMING_SNAKE_CASE :       str						):


      '''simple docstring'''






      requires_backends(cls							,       ["torch"]						)







class       __a  (   metaclass=A__	):
 _lowerCAmelCase	:	List[Any]				=			['''torch''']







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


      '''simple docstring'''






      requires_backends(self							,       ["torch"]						)







 @classmethod
 def  __lowercase (		cls :       int							,       *SCREAMING_SNAKE_CASE :       Tuple							,       **SCREAMING_SNAKE_CASE :       Union[str, Any]						):


      '''simple docstring'''






      requires_backends(cls							,       ["torch"]						)







 @classmethod
 def  __lowercase (		cls :       List[Any]							,       *SCREAMING_SNAKE_CASE :       Dict							,       **SCREAMING_SNAKE_CASE :       List[Any]						):


      '''simple docstring'''






      requires_backends(cls							,       ["torch"]						)







class       __a  (   metaclass=A__	):
 _lowerCAmelCase	:	Optional[int]				=			['''torch''']







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


      '''simple docstring'''






      requires_backends(self							,       ["torch"]						)







 @classmethod
 def  __lowercase (		cls :       Tuple							,       *SCREAMING_SNAKE_CASE :       int							,       **SCREAMING_SNAKE_CASE :       str						):


      '''simple docstring'''






      requires_backends(cls							,       ["torch"]						)







 @classmethod
 def  __lowercase (		cls :       int							,       *SCREAMING_SNAKE_CASE :       List[Any]							,       **SCREAMING_SNAKE_CASE :       int						):


      '''simple docstring'''






      requires_backends(cls							,       ["torch"]						)







class       __a  (   metaclass=A__	):
 _lowerCAmelCase	:	List[str]				=			['''torch''']







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


      '''simple docstring'''






      requires_backends(self							,       ["torch"]						)







 @classmethod
 def  __lowercase (		cls :       List[Any]							,       *SCREAMING_SNAKE_CASE :       int							,       **SCREAMING_SNAKE_CASE :       Any						):


      '''simple docstring'''






      requires_backends(cls							,       ["torch"]						)







 @classmethod
 def  __lowercase (		cls :       Tuple							,       *SCREAMING_SNAKE_CASE :       Union[str, Any]							,       **SCREAMING_SNAKE_CASE :       Any						):


      '''simple docstring'''






      requires_backends(cls							,       ["torch"]						)







class       __a  (   metaclass=A__	):
 _lowerCAmelCase	:	Tuple				=			['''torch''']







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


      '''simple docstring'''






      requires_backends(self							,       ["torch"]						)







 @classmethod
 def  __lowercase (		cls :       List[str]							,       *SCREAMING_SNAKE_CASE :       List[str]							,       **SCREAMING_SNAKE_CASE :       Dict						):


      '''simple docstring'''






      requires_backends(cls							,       ["torch"]						)







 @classmethod
 def  __lowercase (		cls :       List[Any]							,       *SCREAMING_SNAKE_CASE :       List[Any]							,       **SCREAMING_SNAKE_CASE :       Dict						):


      '''simple docstring'''






      requires_backends(cls							,       ["torch"]						)







class       __a  (   metaclass=A__	):
 _lowerCAmelCase	:	Tuple				=			['''torch''']







 def __init__(		self :       Any							,       *SCREAMING_SNAKE_CASE :       str							,       **SCREAMING_SNAKE_CASE :       Any						):


      '''simple docstring'''






      requires_backends(self							,       ["torch"]						)







 @classmethod
 def  __lowercase (		cls :       Tuple							,       *SCREAMING_SNAKE_CASE :       Union[str, Any]							,       **SCREAMING_SNAKE_CASE :       int						):


      '''simple docstring'''






      requires_backends(cls							,       ["torch"]						)







 @classmethod
 def  __lowercase (		cls :       Optional[int]							,       *SCREAMING_SNAKE_CASE :       Optional[Any]							,       **SCREAMING_SNAKE_CASE :       int						):


      '''simple docstring'''






      requires_backends(cls							,       ["torch"]						)







class       __a  (   metaclass=A__	):
 _lowerCAmelCase	:	Dict				=			['''torch''']







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


      '''simple docstring'''






      requires_backends(self							,       ["torch"]						)







 @classmethod
 def  __lowercase (		cls :       Optional[Any]							,       *SCREAMING_SNAKE_CASE :       int							,       **SCREAMING_SNAKE_CASE :       Union[str, Any]						):


      '''simple docstring'''






      requires_backends(cls							,       ["torch"]						)







 @classmethod
 def  __lowercase (		cls :       Dict							,       *SCREAMING_SNAKE_CASE :       Union[str, Any]							,       **SCREAMING_SNAKE_CASE :       Optional[Any]						):


      '''simple docstring'''






      requires_backends(cls							,       ["torch"]						)