


import unittest

from transformers import SpeechaTextaConfig
from transformers.testing_utils import is_torch_available, require_torch, torch_device

from ...generation.test_utils import GenerationTesterMixin
from ...test_configuration_common import ConfigTester
from ...test_modeling_common import ModelTesterMixin, ids_tensor
from ...test_pipeline_mixin import PipelineTesterMixin


if is_torch_available():
						import torch

						from transformers.models.speech_to_text_a.modeling_speech_to_text_a import (
						    SpeechaTextaDecoder,
						    SpeechaTextaForCausalLM,
						)







@require_torch
class 			snake_case__:







						'''simple docstring'''




						def __init__(			self				,  __lowercase				,  __lowercase=9_9				,  __lowercase=1_3				,  __lowercase=1_6				,  __lowercase=7				,  __lowercase=True				,  __lowercase=True				,  __lowercase=True				,  __lowercase=False				,  __lowercase=True				,  __lowercase=2				,  __lowercase=3_2				,  __lowercase=4				,  __lowercase=4				,  __lowercase=3_0				,  __lowercase=0				,  __lowercase=1				,  __lowercase=2				,  __lowercase=None				,  )   ->      Dict:
										lowerCAmelCase_	: Any      			=			parent
										lowerCAmelCase_	: Optional[int]      			=			batch_size
										lowerCAmelCase_	: Optional[int]      			=			decoder_seq_length
										# For common tests
										lowerCAmelCase_	: Union[str, Any]      			=			self.decoder_seq_length
										lowerCAmelCase_	: List[Any]      			=			is_training
										lowerCAmelCase_	: Dict      			=			use_attention_mask
										lowerCAmelCase_	: Optional[Any]      			=			use_labels

										lowerCAmelCase_	: str      			=			vocab_size
										lowerCAmelCase_	: Optional[Any]      			=			d_model
										lowerCAmelCase_	: Optional[Any]      			=			d_model
										lowerCAmelCase_	: str      			=			decoder_layers
										lowerCAmelCase_	: Tuple      			=			decoder_layers
										lowerCAmelCase_	: str      			=			decoder_ffn_dim
										lowerCAmelCase_	: str      			=			decoder_attention_heads
										lowerCAmelCase_	: int      			=			decoder_attention_heads
										lowerCAmelCase_	: Any      			=			eos_token_id
										lowerCAmelCase_	: Optional[Any]      			=			bos_token_id
										lowerCAmelCase_	: str      			=			pad_token_id
										lowerCAmelCase_	: int      			=			decoder_start_token_id
										lowerCAmelCase_	: Union[str, Any]      			=			use_cache
										lowerCAmelCase_	: Tuple      			=			max_position_embeddings

										lowerCAmelCase_	: Union[str, Any]      			=			None
										lowerCAmelCase_	: int      			=			decoder_seq_length
										lowerCAmelCase_	: List[Any]      			=			2
										lowerCAmelCase_	: Dict      			=			1




						def   lowercase_	(			self							)   ->      Dict:
										lowerCAmelCase_	: Tuple      			=			ids_tensor([self.batch_size, self.decoder_seq_length]				,  self.vocab_size							)

										lowerCAmelCase_	: Optional[Any]      			=			None
										if self.use_attention_mask:
														lowerCAmelCase_	: Union[str, Any]      			=			ids_tensor([self.batch_size, self.decoder_seq_length]				,  vocab_size=2							)

										lowerCAmelCase_	: Optional[int]      			=			None
										if self.use_labels:
														lowerCAmelCase_	: List[Any]      			=			ids_tensor([self.batch_size, self.decoder_seq_length]				,  self.vocab_size							)

										lowerCAmelCase_	: Optional[Any]      			=			SpeechaTextaConfig(
										    vocab_size=self.vocab_size				,  d_model=self.d_model				,  decoder_layers=self.decoder_layers				,  decoder_ffn_dim=self.decoder_ffn_dim				,  decoder_attention_heads=self.decoder_attention_heads				,  eos_token_id=self.eos_token_id				,  bos_token_id=self.bos_token_id				,  use_cache=self.use_cache				,  pad_token_id=self.pad_token_id				,  decoder_start_token_id=self.decoder_start_token_id				,  max_position_embeddings=self.max_position_embeddings				,  )

										return (
										    config,
										    input_ids,
										    attention_mask,
										    lm_labels,
										)




						def   lowercase_	(			self				,  __lowercase				,  __lowercase				,  __lowercase				,  __lowercase				,  )   ->      Any:
										lowerCAmelCase_	: List[str]      			=			True
										lowerCAmelCase_	: Any      			=			SpeechaTextaDecoder(config=__lowercase							).to(__lowercase							).eval()
										lowerCAmelCase_	: Union[str, Any]      			=			input_ids[:2]

										input_ids[input_ids == 0] += 1
										# first forward pass
										lowerCAmelCase_	: Any      			=			model(__lowercase				,  use_cache=__lowercase							)
										lowerCAmelCase_	: Any      			=			model(__lowercase							)
										lowerCAmelCase_	: int      			=			model(__lowercase				,  use_cache=__lowercase							)

										self.parent.assertTrue(len(__lowercase							) == len(__lowercase							)							)
										self.parent.assertTrue(len(__lowercase							) == len(__lowercase							) + 1							)

										lowerCAmelCase_	: List[str]      			=			outputs['''past_key_values''']

										# create hypothetical next token and extent to next_input_ids
										lowerCAmelCase_	: List[str]      			=			ids_tensor((2, 1)				,  config.vocab_size - 1							) + 1

										# append to next input_ids and
										lowerCAmelCase_	: Optional[int]      			=			torch.cat([input_ids, next_tokens]				,  dim=-1							)

										print(__lowercase							)

										lowerCAmelCase_	: Optional[Any]      			=			model(__lowercase							)['''last_hidden_state''']
										lowerCAmelCase_	: Dict      			=			model(__lowercase				,  past_key_values=__lowercase							)['''last_hidden_state''']

										# select random slice
										lowerCAmelCase_	: str      			=			ids_tensor((1,)				,  output_from_past.shape[-1]							).item()
										lowerCAmelCase_	: Union[str, Any]      			=			output_from_no_past[:, next_input_ids.shape[-1] - 1, random_slice_idx].detach()
										lowerCAmelCase_	: Union[str, Any]      			=			output_from_past[:, 0, random_slice_idx].detach()

										# test that outputs are equal for slice
										assert torch.allclose(__lowercase				,  __lowercase				,  atol=1e-3							)




						def   lowercase_	(			self							)   ->      Tuple:
										lowerCAmelCase_	: Optional[int]      			=			self.prepare_config_and_inputs()
										(
										    (
										    lowerCAmelCase_
										)			,					(
										    lowerCAmelCase_
										)			,					(
										    lowerCAmelCase_
										)			,					(
										    lowerCAmelCase_
										)			,					
										)	: Dict      			=			config_and_inputs

										lowerCAmelCase_	: Optional[int]      			=			{
										    '''input_ids''': input_ids,
										    '''attention_mask''': attention_mask,
										}
										return config, inputs_dict







@require_torch
class 			snake_case__(							UpperCAmelCase__,  UpperCAmelCase__,  UpperCAmelCase__,  unittest.TestCase							):







						'''simple docstring'''




						SCREAMING_SNAKE_CASE__ :					Dict   =							(SpeechaTextaDecoder, SpeechaTextaForCausalLM) if is_torch_available() else ()
						SCREAMING_SNAKE_CASE__ :					Optional[int]   =							(SpeechaTextaForCausalLM,) if is_torch_available() else ()
						SCREAMING_SNAKE_CASE__ :					List[str]   =							{"""text-generation""": SpeechaTextaForCausalLM} if is_torch_available() else {}
						SCREAMING_SNAKE_CASE__ :					str   =							True
						SCREAMING_SNAKE_CASE__ :					Tuple   =							False




						def   lowercase_	(			self				,  )   ->      List[str]:
										lowerCAmelCase_	: int      			=			SpeechaTextaStandaloneDecoderModelTester(self				,  is_training=__lowercase							)
										lowerCAmelCase_	: int      			=			ConfigTester(self				,  config_class=__lowercase							)




						def   lowercase_	(			self							)   ->      List[Any]:
										pass




						def   lowercase_	(			self							)   ->      List[str]:
										pass




						def   lowercase_	(			self							)   ->      str:
										pass




						def   lowercase_	(			self							)   ->      Tuple:
										self.config_tester.run_common_tests()




						def   lowercase_	(			self							)   ->      Any:
										lowerCAmelCase_	: Dict      			=			self.model_tester.prepare_config_and_inputs()
										self.model_tester.create_and_check_decoder_model_past(*__lowercase							)




						def   lowercase_	(			self							)   ->      int:
										return



from ..utils import DummyObject, requires_backends







class 			snake_case__(							metaclass=UpperCAmelCase__							):







						'''simple docstring'''




						SCREAMING_SNAKE_CASE__ :					int   =							["""vision"""]




						def __init__(			self				,  *__lowercase				,  **__lowercase							)   ->      List[Any]:
										requires_backends(self				,  ['''vision''']							)







class 			snake_case__(							metaclass=UpperCAmelCase__							):







						'''simple docstring'''




						SCREAMING_SNAKE_CASE__ :					Optional[Any]   =							["""vision"""]




						def __init__(			self				,  *__lowercase				,  **__lowercase							)   ->      List[Any]:
										requires_backends(self				,  ['''vision''']							)







class 			snake_case__(							metaclass=UpperCAmelCase__							):







						'''simple docstring'''




						SCREAMING_SNAKE_CASE__ :					Tuple   =							["""vision"""]




						def __init__(			self				,  *__lowercase				,  **__lowercase							)   ->      int:
										requires_backends(self				,  ['''vision''']							)







class 			snake_case__(							metaclass=UpperCAmelCase__							):







						'''simple docstring'''




						SCREAMING_SNAKE_CASE__ :					Any   =							["""vision"""]




						def __init__(			self				,  *__lowercase				,  **__lowercase							)   ->      Any:
										requires_backends(self				,  ['''vision''']							)







class 			snake_case__(							metaclass=UpperCAmelCase__							):







						'''simple docstring'''




						SCREAMING_SNAKE_CASE__ :					Optional[Any]   =							["""vision"""]




						def __init__(			self				,  *__lowercase				,  **__lowercase							)   ->      int:
										requires_backends(self				,  ['''vision''']							)







class 			snake_case__(							metaclass=UpperCAmelCase__							):







						'''simple docstring'''




						SCREAMING_SNAKE_CASE__ :					List[Any]   =							["""vision"""]




						def __init__(			self				,  *__lowercase				,  **__lowercase							)   ->      List[Any]:
										requires_backends(self				,  ['''vision''']							)







class 			snake_case__(							metaclass=UpperCAmelCase__							):







						'''simple docstring'''




						SCREAMING_SNAKE_CASE__ :					Union[str, Any]   =							["""vision"""]




						def __init__(			self				,  *__lowercase				,  **__lowercase							)   ->      Union[str, Any]:
										requires_backends(self				,  ['''vision''']							)







class 			snake_case__(							metaclass=UpperCAmelCase__							):







						'''simple docstring'''




						SCREAMING_SNAKE_CASE__ :					Tuple   =							["""vision"""]




						def __init__(			self				,  *__lowercase				,  **__lowercase							)   ->      str:
										requires_backends(self				,  ['''vision''']							)







class 			snake_case__(							metaclass=UpperCAmelCase__							):







						'''simple docstring'''




						SCREAMING_SNAKE_CASE__ :					str   =							["""vision"""]




						def __init__(			self				,  *__lowercase				,  **__lowercase							)   ->      int:
										requires_backends(self				,  ['''vision''']							)







class 			snake_case__(							metaclass=UpperCAmelCase__							):







						'''simple docstring'''




						SCREAMING_SNAKE_CASE__ :					Optional[int]   =							["""vision"""]




						def __init__(			self				,  *__lowercase				,  **__lowercase							)   ->      Any:
										requires_backends(self				,  ['''vision''']							)







class 			snake_case__(							metaclass=UpperCAmelCase__							):







						'''simple docstring'''




						SCREAMING_SNAKE_CASE__ :					List[Any]   =							["""vision"""]




						def __init__(			self				,  *__lowercase				,  **__lowercase							)   ->      Union[str, Any]:
										requires_backends(self				,  ['''vision''']							)







class 			snake_case__(							metaclass=UpperCAmelCase__							):







						'''simple docstring'''




						SCREAMING_SNAKE_CASE__ :					List[str]   =							["""vision"""]




						def __init__(			self				,  *__lowercase				,  **__lowercase							)   ->      Optional[Any]:
										requires_backends(self				,  ['''vision''']							)







class 			snake_case__(							metaclass=UpperCAmelCase__							):







						'''simple docstring'''




						SCREAMING_SNAKE_CASE__ :					Optional[Any]   =							["""vision"""]




						def __init__(			self				,  *__lowercase				,  **__lowercase							)   ->      str:
										requires_backends(self				,  ['''vision''']							)







class 			snake_case__(							metaclass=UpperCAmelCase__							):







						'''simple docstring'''




						SCREAMING_SNAKE_CASE__ :					List[Any]   =							["""vision"""]




						def __init__(			self				,  *__lowercase				,  **__lowercase							)   ->      List[Any]:
										requires_backends(self				,  ['''vision''']							)







class 			snake_case__(							metaclass=UpperCAmelCase__							):







						'''simple docstring'''




						SCREAMING_SNAKE_CASE__ :					Optional[Any]   =							["""vision"""]




						def __init__(			self				,  *__lowercase				,  **__lowercase							)   ->      int:
										requires_backends(self				,  ['''vision''']							)







class 			snake_case__(							metaclass=UpperCAmelCase__							):







						'''simple docstring'''




						SCREAMING_SNAKE_CASE__ :					Optional[Any]   =							["""vision"""]




						def __init__(			self				,  *__lowercase				,  **__lowercase							)   ->      Dict:
										requires_backends(self				,  ['''vision''']							)







class 			snake_case__(							metaclass=UpperCAmelCase__							):







						'''simple docstring'''




						SCREAMING_SNAKE_CASE__ :					Union[str, Any]   =							["""vision"""]




						def __init__(			self				,  *__lowercase				,  **__lowercase							)   ->      Optional[int]:
										requires_backends(self				,  ['''vision''']							)







class 			snake_case__(							metaclass=UpperCAmelCase__							):







						'''simple docstring'''




						SCREAMING_SNAKE_CASE__ :					int   =							["""vision"""]




						def __init__(			self				,  *__lowercase				,  **__lowercase							)   ->      int:
										requires_backends(self				,  ['''vision''']							)







class 			snake_case__(							metaclass=UpperCAmelCase__							):







						'''simple docstring'''




						SCREAMING_SNAKE_CASE__ :					int   =							["""vision"""]




						def __init__(			self				,  *__lowercase				,  **__lowercase							)   ->      int:
										requires_backends(self				,  ['''vision''']							)







class 			snake_case__(							metaclass=UpperCAmelCase__							):







						'''simple docstring'''




						SCREAMING_SNAKE_CASE__ :					Optional[int]   =							["""vision"""]




						def __init__(			self				,  *__lowercase				,  **__lowercase							)   ->      Dict:
										requires_backends(self				,  ['''vision''']							)







class 			snake_case__(							metaclass=UpperCAmelCase__							):







						'''simple docstring'''




						SCREAMING_SNAKE_CASE__ :					Tuple   =							["""vision"""]




						def __init__(			self				,  *__lowercase				,  **__lowercase							)   ->      int:
										requires_backends(self				,  ['''vision''']							)







class 			snake_case__(							metaclass=UpperCAmelCase__							):







						'''simple docstring'''




						SCREAMING_SNAKE_CASE__ :					Union[str, Any]   =							["""vision"""]




						def __init__(			self				,  *__lowercase				,  **__lowercase							)   ->      Union[str, Any]:
										requires_backends(self				,  ['''vision''']							)







class 			snake_case__(							metaclass=UpperCAmelCase__							):







						'''simple docstring'''




						SCREAMING_SNAKE_CASE__ :					Union[str, Any]   =							["""vision"""]




						def __init__(			self				,  *__lowercase				,  **__lowercase							)   ->      Optional[int]:
										requires_backends(self				,  ['''vision''']							)







class 			snake_case__(							metaclass=UpperCAmelCase__							):







						'''simple docstring'''




						SCREAMING_SNAKE_CASE__ :					int   =							["""vision"""]




						def __init__(			self				,  *__lowercase				,  **__lowercase							)   ->      Union[str, Any]:
										requires_backends(self				,  ['''vision''']							)







class 			snake_case__(							metaclass=UpperCAmelCase__							):







						'''simple docstring'''




						SCREAMING_SNAKE_CASE__ :					Optional[Any]   =							["""vision"""]




						def __init__(			self				,  *__lowercase				,  **__lowercase							)   ->      Union[str, Any]:
										requires_backends(self				,  ['''vision''']							)







class 			snake_case__(							metaclass=UpperCAmelCase__							):







						'''simple docstring'''




						SCREAMING_SNAKE_CASE__ :					int   =							["""vision"""]




						def __init__(			self				,  *__lowercase				,  **__lowercase							)   ->      Any:
										requires_backends(self				,  ['''vision''']							)







class 			snake_case__(							metaclass=UpperCAmelCase__							):







						'''simple docstring'''




						SCREAMING_SNAKE_CASE__ :					str   =							["""vision"""]




						def __init__(			self				,  *__lowercase				,  **__lowercase							)   ->      Union[str, Any]:
										requires_backends(self				,  ['''vision''']							)







class 			snake_case__(							metaclass=UpperCAmelCase__							):







						'''simple docstring'''




						SCREAMING_SNAKE_CASE__ :					Union[str, Any]   =							["""vision"""]




						def __init__(			self				,  *__lowercase				,  **__lowercase							)   ->      Tuple:
										requires_backends(self				,  ['''vision''']							)







class 			snake_case__(							metaclass=UpperCAmelCase__							):







						'''simple docstring'''




						SCREAMING_SNAKE_CASE__ :					Optional[int]   =							["""vision"""]




						def __init__(			self				,  *__lowercase				,  **__lowercase							)   ->      Dict:
										requires_backends(self				,  ['''vision''']							)







class 			snake_case__(							metaclass=UpperCAmelCase__							):







						'''simple docstring'''




						SCREAMING_SNAKE_CASE__ :					Optional[Any]   =							["""vision"""]




						def __init__(			self				,  *__lowercase				,  **__lowercase							)   ->      Tuple:
										requires_backends(self				,  ['''vision''']							)







class 			snake_case__(							metaclass=UpperCAmelCase__							):







						'''simple docstring'''




						SCREAMING_SNAKE_CASE__ :					Dict   =							["""vision"""]




						def __init__(			self				,  *__lowercase				,  **__lowercase							)   ->      List[str]:
										requires_backends(self				,  ['''vision''']							)







class 			snake_case__(							metaclass=UpperCAmelCase__							):







						'''simple docstring'''




						SCREAMING_SNAKE_CASE__ :					Dict   =							["""vision"""]




						def __init__(			self				,  *__lowercase				,  **__lowercase							)   ->      Union[str, Any]:
										requires_backends(self				,  ['''vision''']							)







class 			snake_case__(							metaclass=UpperCAmelCase__							):







						'''simple docstring'''




						SCREAMING_SNAKE_CASE__ :					str   =							["""vision"""]




						def __init__(			self				,  *__lowercase				,  **__lowercase							)   ->      str:
										requires_backends(self				,  ['''vision''']							)







class 			snake_case__(							metaclass=UpperCAmelCase__							):







						'''simple docstring'''




						SCREAMING_SNAKE_CASE__ :					Any   =							["""vision"""]




						def __init__(			self				,  *__lowercase				,  **__lowercase							)   ->      Any:
										requires_backends(self				,  ['''vision''']							)







class 			snake_case__(							metaclass=UpperCAmelCase__							):







						'''simple docstring'''




						SCREAMING_SNAKE_CASE__ :					Dict   =							["""vision"""]




						def __init__(			self				,  *__lowercase				,  **__lowercase							)   ->      List[str]:
										requires_backends(self				,  ['''vision''']							)







class 			snake_case__(							metaclass=UpperCAmelCase__							):







						'''simple docstring'''




						SCREAMING_SNAKE_CASE__ :					Optional[Any]   =							["""vision"""]




						def __init__(			self				,  *__lowercase				,  **__lowercase							)   ->      List[str]:
										requires_backends(self				,  ['''vision''']							)







class 			snake_case__(							metaclass=UpperCAmelCase__							):







						'''simple docstring'''




						SCREAMING_SNAKE_CASE__ :					int   =							["""vision"""]




						def __init__(			self				,  *__lowercase				,  **__lowercase							)   ->      Tuple:
										requires_backends(self				,  ['''vision''']							)







class 			snake_case__(							metaclass=UpperCAmelCase__							):







						'''simple docstring'''




						SCREAMING_SNAKE_CASE__ :					Dict   =							["""vision"""]




						def __init__(			self				,  *__lowercase				,  **__lowercase							)   ->      List[Any]:
										requires_backends(self				,  ['''vision''']							)







class 			snake_case__(							metaclass=UpperCAmelCase__							):







						'''simple docstring'''




						SCREAMING_SNAKE_CASE__ :					str   =							["""vision"""]




						def __init__(			self				,  *__lowercase				,  **__lowercase							)   ->      Any:
										requires_backends(self				,  ['''vision''']							)







class 			snake_case__(							metaclass=UpperCAmelCase__							):







						'''simple docstring'''




						SCREAMING_SNAKE_CASE__ :					Union[str, Any]   =							["""vision"""]




						def __init__(			self				,  *__lowercase				,  **__lowercase							)   ->      int:
										requires_backends(self				,  ['''vision''']							)







class 			snake_case__(							metaclass=UpperCAmelCase__							):







						'''simple docstring'''




						SCREAMING_SNAKE_CASE__ :					List[Any]   =							["""vision"""]




						def __init__(			self				,  *__lowercase				,  **__lowercase							)   ->      Tuple:
										requires_backends(self				,  ['''vision''']							)







class 			snake_case__(							metaclass=UpperCAmelCase__							):







						'''simple docstring'''




						SCREAMING_SNAKE_CASE__ :					List[str]   =							["""vision"""]




						def __init__(			self				,  *__lowercase				,  **__lowercase							)   ->      List[Any]:
										requires_backends(self				,  ['''vision''']							)







class 			snake_case__(							metaclass=UpperCAmelCase__							):







						'''simple docstring'''




						SCREAMING_SNAKE_CASE__ :					int   =							["""vision"""]




						def __init__(			self				,  *__lowercase				,  **__lowercase							)   ->      List[Any]:
										requires_backends(self				,  ['''vision''']							)







class 			snake_case__(							metaclass=UpperCAmelCase__							):







						'''simple docstring'''




						SCREAMING_SNAKE_CASE__ :					str   =							["""vision"""]




						def __init__(			self				,  *__lowercase				,  **__lowercase							)   ->      Optional[int]:
										requires_backends(self				,  ['''vision''']							)







class 			snake_case__(							metaclass=UpperCAmelCase__							):







						'''simple docstring'''




						SCREAMING_SNAKE_CASE__ :					Union[str, Any]   =							["""vision"""]




						def __init__(			self				,  *__lowercase				,  **__lowercase							)   ->      str:
										requires_backends(self				,  ['''vision''']							)







class 			snake_case__(							metaclass=UpperCAmelCase__							):







						'''simple docstring'''




						SCREAMING_SNAKE_CASE__ :					int   =							["""vision"""]




						def __init__(			self				,  *__lowercase				,  **__lowercase							)   ->      str:
										requires_backends(self				,  ['''vision''']							)







class 			snake_case__(							metaclass=UpperCAmelCase__							):







						'''simple docstring'''




						SCREAMING_SNAKE_CASE__ :					Tuple   =							["""vision"""]




						def __init__(			self				,  *__lowercase				,  **__lowercase							)   ->      Any:
										requires_backends(self				,  ['''vision''']							)







class 			snake_case__(							metaclass=UpperCAmelCase__							):







						'''simple docstring'''




						SCREAMING_SNAKE_CASE__ :					Dict   =							["""vision"""]




						def __init__(			self				,  *__lowercase				,  **__lowercase							)   ->      str:
										requires_backends(self				,  ['''vision''']							)







class 			snake_case__(							metaclass=UpperCAmelCase__							):







						'''simple docstring'''




						SCREAMING_SNAKE_CASE__ :					List[str]   =							["""vision"""]




						def __init__(			self				,  *__lowercase				,  **__lowercase							)   ->      Optional[Any]:
										requires_backends(self				,  ['''vision''']							)







class 			snake_case__(							metaclass=UpperCAmelCase__							):







						'''simple docstring'''




						SCREAMING_SNAKE_CASE__ :					List[str]   =							["""vision"""]




						def __init__(			self				,  *__lowercase				,  **__lowercase							)   ->      List[str]:
										requires_backends(self				,  ['''vision''']							)







class 			snake_case__(							metaclass=UpperCAmelCase__							):







						'''simple docstring'''




						SCREAMING_SNAKE_CASE__ :					Any   =							["""vision"""]




						def __init__(			self				,  *__lowercase				,  **__lowercase							)   ->      Tuple:
										requires_backends(self				,  ['''vision''']							)







class 			snake_case__(							metaclass=UpperCAmelCase__							):







						'''simple docstring'''




						SCREAMING_SNAKE_CASE__ :					Optional[int]   =							["""vision"""]




						def __init__(			self				,  *__lowercase				,  **__lowercase							)   ->      Optional[int]:
										requires_backends(self				,  ['''vision''']							)







class 			snake_case__(							metaclass=UpperCAmelCase__							):







						'''simple docstring'''




						SCREAMING_SNAKE_CASE__ :					Dict   =							["""vision"""]




						def __init__(			self				,  *__lowercase				,  **__lowercase							)   ->      Tuple:
										requires_backends(self				,  ['''vision''']							)







class 			snake_case__(							metaclass=UpperCAmelCase__							):







						'''simple docstring'''




						SCREAMING_SNAKE_CASE__ :					Tuple   =							["""vision"""]




						def __init__(			self				,  *__lowercase				,  **__lowercase							)   ->      Any:
										requires_backends(self				,  ['''vision''']							)







class 			snake_case__(							metaclass=UpperCAmelCase__							):







						'''simple docstring'''




						SCREAMING_SNAKE_CASE__ :					str   =							["""vision"""]




						def __init__(			self				,  *__lowercase				,  **__lowercase							)   ->      int:
										requires_backends(self				,  ['''vision''']							)







class 			snake_case__(							metaclass=UpperCAmelCase__							):







						'''simple docstring'''




						SCREAMING_SNAKE_CASE__ :					List[str]   =							["""vision"""]




						def __init__(			self				,  *__lowercase				,  **__lowercase							)   ->      Optional[int]:
										requires_backends(self				,  ['''vision''']							)







class 			snake_case__(							metaclass=UpperCAmelCase__							):







						'''simple docstring'''




						SCREAMING_SNAKE_CASE__ :					Union[str, Any]   =							["""vision"""]




						def __init__(			self				,  *__lowercase				,  **__lowercase							)   ->      List[str]:
										requires_backends(self				,  ['''vision''']							)







class 			snake_case__(							metaclass=UpperCAmelCase__							):







						'''simple docstring'''




						SCREAMING_SNAKE_CASE__ :					int   =							["""vision"""]




						def __init__(			self				,  *__lowercase				,  **__lowercase							)   ->      Optional[Any]:
										requires_backends(self				,  ['''vision''']							)







class 			snake_case__(							metaclass=UpperCAmelCase__							):







						'''simple docstring'''




						SCREAMING_SNAKE_CASE__ :					List[str]   =							["""vision"""]




						def __init__(			self				,  *__lowercase				,  **__lowercase							)   ->      Tuple:
										requires_backends(self				,  ['''vision''']							)







class 			snake_case__(							metaclass=UpperCAmelCase__							):







						'''simple docstring'''




						SCREAMING_SNAKE_CASE__ :					str   =							["""vision"""]




						def __init__(			self				,  *__lowercase				,  **__lowercase							)   ->      Dict:
										requires_backends(self				,  ['''vision''']							)







class 			snake_case__(							metaclass=UpperCAmelCase__							):







						'''simple docstring'''




						SCREAMING_SNAKE_CASE__ :					Optional[Any]   =							["""vision"""]




						def __init__(			self				,  *__lowercase				,  **__lowercase							)   ->      Tuple:
										requires_backends(self				,  ['''vision''']							)







class 			snake_case__(							metaclass=UpperCAmelCase__							):







						'''simple docstring'''




						SCREAMING_SNAKE_CASE__ :					Optional[Any]   =							["""vision"""]




						def __init__(			self				,  *__lowercase				,  **__lowercase							)   ->      int:
										requires_backends(self				,  ['''vision''']							)







class 			snake_case__(							metaclass=UpperCAmelCase__							):







						'''simple docstring'''




						SCREAMING_SNAKE_CASE__ :					List[str]   =							["""vision"""]




						def __init__(			self				,  *__lowercase				,  **__lowercase							)   ->      List[Any]:
										requires_backends(self				,  ['''vision''']							)







class 			snake_case__(							metaclass=UpperCAmelCase__							):







						'''simple docstring'''




						SCREAMING_SNAKE_CASE__ :					Dict   =							["""vision"""]




						def __init__(			self				,  *__lowercase				,  **__lowercase							)   ->      Any:
										requires_backends(self				,  ['''vision''']							)







class 			snake_case__(							metaclass=UpperCAmelCase__							):







						'''simple docstring'''




						SCREAMING_SNAKE_CASE__ :					Optional[int]   =							["""vision"""]




						def __init__(			self				,  *__lowercase				,  **__lowercase							)   ->      List[Any]:
										requires_backends(self				,  ['''vision''']							)







class 			snake_case__(							metaclass=UpperCAmelCase__							):







						'''simple docstring'''




						SCREAMING_SNAKE_CASE__ :					List[str]   =							["""vision"""]




						def __init__(			self				,  *__lowercase				,  **__lowercase							)   ->      int:
										requires_backends(self				,  ['''vision''']							)







class 			snake_case__(							metaclass=UpperCAmelCase__							):







						'''simple docstring'''




						SCREAMING_SNAKE_CASE__ :					Union[str, Any]   =							["""vision"""]




						def __init__(			self				,  *__lowercase				,  **__lowercase							)   ->      Union[str, Any]:
										requires_backends(self				,  ['''vision''']							)







class 			snake_case__(							metaclass=UpperCAmelCase__							):







						'''simple docstring'''




						SCREAMING_SNAKE_CASE__ :					int   =							["""vision"""]




						def __init__(			self				,  *__lowercase				,  **__lowercase							)   ->      List[str]:
										requires_backends(self				,  ['''vision''']							)







class 			snake_case__(							metaclass=UpperCAmelCase__							):







						'''simple docstring'''




						SCREAMING_SNAKE_CASE__ :					List[str]   =							["""vision"""]




						def __init__(			self				,  *__lowercase				,  **__lowercase							)   ->      Any:
										requires_backends(self				,  ['''vision''']							)







class 			snake_case__(							metaclass=UpperCAmelCase__							):







						'''simple docstring'''




						SCREAMING_SNAKE_CASE__ :					List[Any]   =							["""vision"""]




						def __init__(			self				,  *__lowercase				,  **__lowercase							)   ->      List[Any]:
										requires_backends(self				,  ['''vision''']							)







class 			snake_case__(							metaclass=UpperCAmelCase__							):







						'''simple docstring'''




						SCREAMING_SNAKE_CASE__ :					List[Any]   =							["""vision"""]




						def __init__(			self				,  *__lowercase				,  **__lowercase							)   ->      Optional[int]:
										requires_backends(self				,  ['''vision''']							)







class 			snake_case__(							metaclass=UpperCAmelCase__							):







						'''simple docstring'''




						SCREAMING_SNAKE_CASE__ :					Tuple   =							["""vision"""]




						def __init__(			self				,  *__lowercase				,  **__lowercase							)   ->      List[Any]:
										requires_backends(self				,  ['''vision''']							)







class 			snake_case__(							metaclass=UpperCAmelCase__							):







						'''simple docstring'''




						SCREAMING_SNAKE_CASE__ :					int   =							["""vision"""]




						def __init__(			self				,  *__lowercase				,  **__lowercase							)   ->      Dict:
										requires_backends(self				,  ['''vision''']							)







class 			snake_case__(							metaclass=UpperCAmelCase__							):







						'''simple docstring'''




						SCREAMING_SNAKE_CASE__ :					List[Any]   =							["""vision"""]




						def __init__(			self				,  *__lowercase				,  **__lowercase							)   ->      Optional[Any]:
										requires_backends(self				,  ['''vision''']							)