



"""simple docstring"""







import numpy as np  # noqa: E402

from ...configuration_utils import ConfigMixin, register_to_config
from ...schedulers.scheduling_utils import SchedulerMixin


try:
     import librosa  # noqa: E402

     lowercase__						:							List[str]        =      True
     lowercase__						:							List[Any]        =      """"""
except Exception as e:
     lowercase__						:							Optional[int]        =      False
     lowercase__						:							Any        =      (
         f'Cannot import librosa because {e}. Make sure to correctly install librosa to be able to install it.'
     )


from PIL import Image  # noqa: E402







class  UpperCamelCase__  (      lowercase_,   lowercase_    ):




      """simple docstring"""




      _SCREAMING_SNAKE_CASE    							=	"""mel_config.json"""



      @register_to_config
      def __init__( self							: int       ,     SCREAMING_SNAKE_CASE_							: int = 2_5_6       ,     SCREAMING_SNAKE_CASE_							: int = 2_5_6       ,     SCREAMING_SNAKE_CASE_							: int = 2_2_0_5_0       ,     SCREAMING_SNAKE_CASE_							: int = 2_0_4_8       ,     SCREAMING_SNAKE_CASE_							: int = 5_1_2       ,     SCREAMING_SNAKE_CASE_							: int = 8_0       ,     SCREAMING_SNAKE_CASE_							: int = 3_2       ,     ):
        lowerCAmelCase_  :							int								=					hop_length
        lowerCAmelCase_  :							int								=					sample_rate
        lowerCAmelCase_  :							Optional[Any]								=					n_fft
        lowerCAmelCase_  :							List[str]								=					top_db
        lowerCAmelCase_  :							List[Any]								=					n_iter
        self.set_resolution(SCREAMING_SNAKE_CASE_       ,     SCREAMING_SNAKE_CASE_			)
        lowerCAmelCase_  :							str								=					None

        if not _librosa_can_be_imported:
          raise ValueError(_import_error			)



      def 	SCREAMING_SNAKE_CASE__					( self							: int       ,     SCREAMING_SNAKE_CASE_							: int       ,     SCREAMING_SNAKE_CASE_							: int			):
        lowerCAmelCase_  :							List[Any]								=					x_res
        lowerCAmelCase_  :							List[str]								=					y_res
        lowerCAmelCase_  :							List[str]								=					self.y_res
        lowerCAmelCase_  :							Dict								=					self.x_res * self.hop_length - 1



      def 	SCREAMING_SNAKE_CASE__					( self							: Dict       ,     SCREAMING_SNAKE_CASE_							: str = None       ,     SCREAMING_SNAKE_CASE_							: np.ndarray = None			):
        if audio_file is not None:
          lowerCAmelCase_		,lowerCAmelCase_  :							int								=					librosa.load(SCREAMING_SNAKE_CASE_       ,     mono=SCREAMING_SNAKE_CASE_       ,     sr=self.sr			)
        else:
          lowerCAmelCase_  :							int								=					raw_audio

        # Pad with silence if necessary.
        if len(self.audio			) < self.x_res * self.hop_length:
          lowerCAmelCase_  :							str								=					np.concatenate([self.audio, np.zeros((self.x_res * self.hop_length - len(self.audio			),)			)]			)



      def 	SCREAMING_SNAKE_CASE__					( self							: int			):
        return len(self.audio			) // self.slice_size



      def 	SCREAMING_SNAKE_CASE__					( self							: str       ,     SCREAMING_SNAKE_CASE_							: int = 0			):
        return self.audio[self.slice_size * slice : self.slice_size * (slice + 1)]



      def 	SCREAMING_SNAKE_CASE__					( self							: Dict			):
        return self.sr



      def 	SCREAMING_SNAKE_CASE__					( self							: Optional[Any]       ,     SCREAMING_SNAKE_CASE_							: int			):
        lowerCAmelCase_  :							Union[str, Any]								=					librosa.feature.melspectrogram(
            y=self.get_audio_slice(SCREAMING_SNAKE_CASE_			)       ,     sr=self.sr       ,     n_fft=self.n_fft       ,     hop_length=self.hop_length       ,     n_mels=self.n_mels			)
        lowerCAmelCase_  :							str								=					librosa.power_to_db(SCREAMING_SNAKE_CASE_       ,     ref=np.max       ,     top_db=self.top_db			)
        lowerCAmelCase_  :							Dict								=					(((log_S + self.top_db) * 2_5_5 / self.top_db).clip(0       ,     2_5_5			) + 0.5).astype(np.uinta			)
        lowerCAmelCase_  :							Union[str, Any]								=					Image.fromarray(SCREAMING_SNAKE_CASE_			)
        return image





      def 	SCREAMING_SNAKE_CASE__					( self							: Any       ,     SCREAMING_SNAKE_CASE_							: Image.Image			):
        lowerCAmelCase_  :							Tuple								=					np.frombuffer(image.tobytes()       ,     dtype='uint8'			).reshape((image.height, image.width)			)
        lowerCAmelCase_  :							Any								=					bytedata.astype('float'			) * self.top_db / 2_5_5 - self.top_db
        lowerCAmelCase_  :							List[Any]								=					librosa.db_to_power(SCREAMING_SNAKE_CASE_			)
        lowerCAmelCase_  :							int								=					librosa.feature.inverse.mel_to_audio(
            SCREAMING_SNAKE_CASE_       ,     sr=self.sr       ,     n_fft=self.n_fft       ,     hop_length=self.hop_length       ,     n_iter=self.n_iter			)
        return audio










"""simple docstring"""







from ..utils import DummyObject, requires_backends







class  UpperCamelCase__  (      metaclass=lowercase_    ):




      """simple docstring"""




      _SCREAMING_SNAKE_CASE    							=	["""vision"""]



      def __init__( self							: Dict       ,     *SCREAMING_SNAKE_CASE_							: Any       ,     **SCREAMING_SNAKE_CASE_							: Optional[int]			):
        requires_backends(self       ,     ['vision']			)







class  UpperCamelCase__  (      metaclass=lowercase_    ):




      """simple docstring"""




      _SCREAMING_SNAKE_CASE    							=	["""vision"""]



      def __init__( self							: Optional[Any]       ,     *SCREAMING_SNAKE_CASE_							: List[Any]       ,     **SCREAMING_SNAKE_CASE_							: Any			):
        requires_backends(self       ,     ['vision']			)







class  UpperCamelCase__  (      metaclass=lowercase_    ):




      """simple docstring"""




      _SCREAMING_SNAKE_CASE    							=	["""vision"""]



      def __init__( self							: int       ,     *SCREAMING_SNAKE_CASE_							: List[Any]       ,     **SCREAMING_SNAKE_CASE_							: Union[str, Any]			):
        requires_backends(self       ,     ['vision']			)







class  UpperCamelCase__  (      metaclass=lowercase_    ):




      """simple docstring"""




      _SCREAMING_SNAKE_CASE    							=	["""vision"""]



      def __init__( self							: List[Any]       ,     *SCREAMING_SNAKE_CASE_							: Optional[Any]       ,     **SCREAMING_SNAKE_CASE_							: Optional[Any]			):
        requires_backends(self       ,     ['vision']			)







class  UpperCamelCase__  (      metaclass=lowercase_    ):




      """simple docstring"""




      _SCREAMING_SNAKE_CASE    							=	["""vision"""]



      def __init__( self							: int       ,     *SCREAMING_SNAKE_CASE_							: int       ,     **SCREAMING_SNAKE_CASE_							: List[str]			):
        requires_backends(self       ,     ['vision']			)







class  UpperCamelCase__  (      metaclass=lowercase_    ):




      """simple docstring"""




      _SCREAMING_SNAKE_CASE    							=	["""vision"""]



      def __init__( self							: Optional[Any]       ,     *SCREAMING_SNAKE_CASE_							: str       ,     **SCREAMING_SNAKE_CASE_							: str			):
        requires_backends(self       ,     ['vision']			)







class  UpperCamelCase__  (      metaclass=lowercase_    ):




      """simple docstring"""




      _SCREAMING_SNAKE_CASE    							=	["""vision"""]



      def __init__( self							: Tuple       ,     *SCREAMING_SNAKE_CASE_							: List[Any]       ,     **SCREAMING_SNAKE_CASE_							: Dict			):
        requires_backends(self       ,     ['vision']			)







class  UpperCamelCase__  (      metaclass=lowercase_    ):




      """simple docstring"""




      _SCREAMING_SNAKE_CASE    							=	["""vision"""]



      def __init__( self							: Dict       ,     *SCREAMING_SNAKE_CASE_							: List[Any]       ,     **SCREAMING_SNAKE_CASE_							: Tuple			):
        requires_backends(self       ,     ['vision']			)







class  UpperCamelCase__  (      metaclass=lowercase_    ):




      """simple docstring"""




      _SCREAMING_SNAKE_CASE    							=	["""vision"""]



      def __init__( self							: int       ,     *SCREAMING_SNAKE_CASE_							: int       ,     **SCREAMING_SNAKE_CASE_							: Union[str, Any]			):
        requires_backends(self       ,     ['vision']			)







class  UpperCamelCase__  (      metaclass=lowercase_    ):




      """simple docstring"""




      _SCREAMING_SNAKE_CASE    							=	["""vision"""]



      def __init__( self							: Dict       ,     *SCREAMING_SNAKE_CASE_							: str       ,     **SCREAMING_SNAKE_CASE_							: Tuple			):
        requires_backends(self       ,     ['vision']			)







class  UpperCamelCase__  (      metaclass=lowercase_    ):




      """simple docstring"""




      _SCREAMING_SNAKE_CASE    							=	["""vision"""]



      def __init__( self							: Any       ,     *SCREAMING_SNAKE_CASE_							: Optional[Any]       ,     **SCREAMING_SNAKE_CASE_							: Tuple			):
        requires_backends(self       ,     ['vision']			)







class  UpperCamelCase__  (      metaclass=lowercase_    ):




      """simple docstring"""




      _SCREAMING_SNAKE_CASE    							=	["""vision"""]



      def __init__( self							: List[str]       ,     *SCREAMING_SNAKE_CASE_							: Tuple       ,     **SCREAMING_SNAKE_CASE_							: List[Any]			):
        requires_backends(self       ,     ['vision']			)







class  UpperCamelCase__  (      metaclass=lowercase_    ):




      """simple docstring"""




      _SCREAMING_SNAKE_CASE    							=	["""vision"""]



      def __init__( self							: Dict       ,     *SCREAMING_SNAKE_CASE_							: Optional[int]       ,     **SCREAMING_SNAKE_CASE_							: Union[str, Any]			):
        requires_backends(self       ,     ['vision']			)







class  UpperCamelCase__  (      metaclass=lowercase_    ):




      """simple docstring"""




      _SCREAMING_SNAKE_CASE    							=	["""vision"""]



      def __init__( self							: Optional[int]       ,     *SCREAMING_SNAKE_CASE_							: List[str]       ,     **SCREAMING_SNAKE_CASE_							: str			):
        requires_backends(self       ,     ['vision']			)







class  UpperCamelCase__  (      metaclass=lowercase_    ):




      """simple docstring"""




      _SCREAMING_SNAKE_CASE    							=	["""vision"""]



      def __init__( self							: Optional[int]       ,     *SCREAMING_SNAKE_CASE_							: List[Any]       ,     **SCREAMING_SNAKE_CASE_							: int			):
        requires_backends(self       ,     ['vision']			)







class  UpperCamelCase__  (      metaclass=lowercase_    ):




      """simple docstring"""




      _SCREAMING_SNAKE_CASE    							=	["""vision"""]



      def __init__( self							: int       ,     *SCREAMING_SNAKE_CASE_							: Optional[Any]       ,     **SCREAMING_SNAKE_CASE_							: Optional[int]			):
        requires_backends(self       ,     ['vision']			)







class  UpperCamelCase__  (      metaclass=lowercase_    ):




      """simple docstring"""




      _SCREAMING_SNAKE_CASE    							=	["""vision"""]



      def __init__( self							: Union[str, Any]       ,     *SCREAMING_SNAKE_CASE_							: Tuple       ,     **SCREAMING_SNAKE_CASE_							: str			):
        requires_backends(self       ,     ['vision']			)







class  UpperCamelCase__  (      metaclass=lowercase_    ):




      """simple docstring"""




      _SCREAMING_SNAKE_CASE    							=	["""vision"""]



      def __init__( self							: List[str]       ,     *SCREAMING_SNAKE_CASE_							: int       ,     **SCREAMING_SNAKE_CASE_							: List[Any]			):
        requires_backends(self       ,     ['vision']			)







class  UpperCamelCase__  (      metaclass=lowercase_    ):




      """simple docstring"""




      _SCREAMING_SNAKE_CASE    							=	["""vision"""]



      def __init__( self							: Dict       ,     *SCREAMING_SNAKE_CASE_							: Dict       ,     **SCREAMING_SNAKE_CASE_							: Optional[Any]			):
        requires_backends(self       ,     ['vision']			)







class  UpperCamelCase__  (      metaclass=lowercase_    ):




      """simple docstring"""




      _SCREAMING_SNAKE_CASE    							=	["""vision"""]



      def __init__( self							: List[Any]       ,     *SCREAMING_SNAKE_CASE_							: Any       ,     **SCREAMING_SNAKE_CASE_							: Tuple			):
        requires_backends(self       ,     ['vision']			)







class  UpperCamelCase__  (      metaclass=lowercase_    ):




      """simple docstring"""




      _SCREAMING_SNAKE_CASE    							=	["""vision"""]



      def __init__( self							: List[str]       ,     *SCREAMING_SNAKE_CASE_							: Optional[int]       ,     **SCREAMING_SNAKE_CASE_							: Optional[Any]			):
        requires_backends(self       ,     ['vision']			)







class  UpperCamelCase__  (      metaclass=lowercase_    ):




      """simple docstring"""




      _SCREAMING_SNAKE_CASE    							=	["""vision"""]



      def __init__( self							: str       ,     *SCREAMING_SNAKE_CASE_							: Optional[Any]       ,     **SCREAMING_SNAKE_CASE_							: Union[str, Any]			):
        requires_backends(self       ,     ['vision']			)







class  UpperCamelCase__  (      metaclass=lowercase_    ):




      """simple docstring"""




      _SCREAMING_SNAKE_CASE    							=	["""vision"""]



      def __init__( self							: List[Any]       ,     *SCREAMING_SNAKE_CASE_							: List[str]       ,     **SCREAMING_SNAKE_CASE_							: int			):
        requires_backends(self       ,     ['vision']			)







class  UpperCamelCase__  (      metaclass=lowercase_    ):




      """simple docstring"""




      _SCREAMING_SNAKE_CASE    							=	["""vision"""]



      def __init__( self							: List[Any]       ,     *SCREAMING_SNAKE_CASE_							: str       ,     **SCREAMING_SNAKE_CASE_							: Tuple			):
        requires_backends(self       ,     ['vision']			)







class  UpperCamelCase__  (      metaclass=lowercase_    ):




      """simple docstring"""




      _SCREAMING_SNAKE_CASE    							=	["""vision"""]



      def __init__( self							: Optional[int]       ,     *SCREAMING_SNAKE_CASE_							: Union[str, Any]       ,     **SCREAMING_SNAKE_CASE_							: List[str]			):
        requires_backends(self       ,     ['vision']			)







class  UpperCamelCase__  (      metaclass=lowercase_    ):




      """simple docstring"""




      _SCREAMING_SNAKE_CASE    							=	["""vision"""]



      def __init__( self							: Dict       ,     *SCREAMING_SNAKE_CASE_							: Optional[Any]       ,     **SCREAMING_SNAKE_CASE_							: int			):
        requires_backends(self       ,     ['vision']			)







class  UpperCamelCase__  (      metaclass=lowercase_    ):




      """simple docstring"""




      _SCREAMING_SNAKE_CASE    							=	["""vision"""]



      def __init__( self							: Dict       ,     *SCREAMING_SNAKE_CASE_							: Optional[int]       ,     **SCREAMING_SNAKE_CASE_							: Tuple			):
        requires_backends(self       ,     ['vision']			)







class  UpperCamelCase__  (      metaclass=lowercase_    ):




      """simple docstring"""




      _SCREAMING_SNAKE_CASE    							=	["""vision"""]



      def __init__( self							: Optional[int]       ,     *SCREAMING_SNAKE_CASE_							: Union[str, Any]       ,     **SCREAMING_SNAKE_CASE_							: Any			):
        requires_backends(self       ,     ['vision']			)







class  UpperCamelCase__  (      metaclass=lowercase_    ):




      """simple docstring"""




      _SCREAMING_SNAKE_CASE    							=	["""vision"""]



      def __init__( self							: Tuple       ,     *SCREAMING_SNAKE_CASE_							: int       ,     **SCREAMING_SNAKE_CASE_							: Optional[int]			):
        requires_backends(self       ,     ['vision']			)







class  UpperCamelCase__  (      metaclass=lowercase_    ):




      """simple docstring"""




      _SCREAMING_SNAKE_CASE    							=	["""vision"""]



      def __init__( self							: List[Any]       ,     *SCREAMING_SNAKE_CASE_							: Union[str, Any]       ,     **SCREAMING_SNAKE_CASE_							: List[str]			):
        requires_backends(self       ,     ['vision']			)







class  UpperCamelCase__  (      metaclass=lowercase_    ):




      """simple docstring"""




      _SCREAMING_SNAKE_CASE    							=	["""vision"""]



      def __init__( self							: Dict       ,     *SCREAMING_SNAKE_CASE_							: Any       ,     **SCREAMING_SNAKE_CASE_							: Dict			):
        requires_backends(self       ,     ['vision']			)







class  UpperCamelCase__  (      metaclass=lowercase_    ):




      """simple docstring"""




      _SCREAMING_SNAKE_CASE    							=	["""vision"""]



      def __init__( self							: List[str]       ,     *SCREAMING_SNAKE_CASE_							: Tuple       ,     **SCREAMING_SNAKE_CASE_							: Dict			):
        requires_backends(self       ,     ['vision']			)







class  UpperCamelCase__  (      metaclass=lowercase_    ):




      """simple docstring"""




      _SCREAMING_SNAKE_CASE    							=	["""vision"""]



      def __init__( self							: Any       ,     *SCREAMING_SNAKE_CASE_							: Dict       ,     **SCREAMING_SNAKE_CASE_							: Dict			):
        requires_backends(self       ,     ['vision']			)







class  UpperCamelCase__  (      metaclass=lowercase_    ):




      """simple docstring"""




      _SCREAMING_SNAKE_CASE    							=	["""vision"""]



      def __init__( self							: Union[str, Any]       ,     *SCREAMING_SNAKE_CASE_							: List[str]       ,     **SCREAMING_SNAKE_CASE_							: Union[str, Any]			):
        requires_backends(self       ,     ['vision']			)







class  UpperCamelCase__  (      metaclass=lowercase_    ):




      """simple docstring"""




      _SCREAMING_SNAKE_CASE    							=	["""vision"""]



      def __init__( self							: Dict       ,     *SCREAMING_SNAKE_CASE_							: Tuple       ,     **SCREAMING_SNAKE_CASE_							: Union[str, Any]			):
        requires_backends(self       ,     ['vision']			)







class  UpperCamelCase__  (      metaclass=lowercase_    ):




      """simple docstring"""




      _SCREAMING_SNAKE_CASE    							=	["""vision"""]



      def __init__( self							: Dict       ,     *SCREAMING_SNAKE_CASE_							: List[str]       ,     **SCREAMING_SNAKE_CASE_							: Any			):
        requires_backends(self       ,     ['vision']			)







class  UpperCamelCase__  (      metaclass=lowercase_    ):




      """simple docstring"""




      _SCREAMING_SNAKE_CASE    							=	["""vision"""]



      def __init__( self							: Tuple       ,     *SCREAMING_SNAKE_CASE_							: Optional[Any]       ,     **SCREAMING_SNAKE_CASE_							: Optional[int]			):
        requires_backends(self       ,     ['vision']			)







class  UpperCamelCase__  (      metaclass=lowercase_    ):




      """simple docstring"""




      _SCREAMING_SNAKE_CASE    							=	["""vision"""]



      def __init__( self							: Dict       ,     *SCREAMING_SNAKE_CASE_							: Tuple       ,     **SCREAMING_SNAKE_CASE_							: Tuple			):
        requires_backends(self       ,     ['vision']			)







class  UpperCamelCase__  (      metaclass=lowercase_    ):




      """simple docstring"""




      _SCREAMING_SNAKE_CASE    							=	["""vision"""]



      def __init__( self							: str       ,     *SCREAMING_SNAKE_CASE_							: List[str]       ,     **SCREAMING_SNAKE_CASE_							: Tuple			):
        requires_backends(self       ,     ['vision']			)







class  UpperCamelCase__  (      metaclass=lowercase_    ):




      """simple docstring"""




      _SCREAMING_SNAKE_CASE    							=	["""vision"""]



      def __init__( self							: List[Any]       ,     *SCREAMING_SNAKE_CASE_							: Tuple       ,     **SCREAMING_SNAKE_CASE_							: str			):
        requires_backends(self       ,     ['vision']			)







class  UpperCamelCase__  (      metaclass=lowercase_    ):




      """simple docstring"""




      _SCREAMING_SNAKE_CASE    							=	["""vision"""]



      def __init__( self							: Dict       ,     *SCREAMING_SNAKE_CASE_							: int       ,     **SCREAMING_SNAKE_CASE_							: Optional[Any]			):
        requires_backends(self       ,     ['vision']			)







class  UpperCamelCase__  (      metaclass=lowercase_    ):




      """simple docstring"""




      _SCREAMING_SNAKE_CASE    							=	["""vision"""]



      def __init__( self							: List[Any]       ,     *SCREAMING_SNAKE_CASE_							: Optional[int]       ,     **SCREAMING_SNAKE_CASE_							: Union[str, Any]			):
        requires_backends(self       ,     ['vision']			)







class  UpperCamelCase__  (      metaclass=lowercase_    ):




      """simple docstring"""




      _SCREAMING_SNAKE_CASE    							=	["""vision"""]



      def __init__( self							: Any       ,     *SCREAMING_SNAKE_CASE_							: Optional[int]       ,     **SCREAMING_SNAKE_CASE_							: Dict			):
        requires_backends(self       ,     ['vision']			)







class  UpperCamelCase__  (      metaclass=lowercase_    ):




      """simple docstring"""




      _SCREAMING_SNAKE_CASE    							=	["""vision"""]



      def __init__( self							: Tuple       ,     *SCREAMING_SNAKE_CASE_							: Optional[int]       ,     **SCREAMING_SNAKE_CASE_							: Optional[Any]			):
        requires_backends(self       ,     ['vision']			)







class  UpperCamelCase__  (      metaclass=lowercase_    ):




      """simple docstring"""




      _SCREAMING_SNAKE_CASE    							=	["""vision"""]



      def __init__( self							: Optional[int]       ,     *SCREAMING_SNAKE_CASE_							: Tuple       ,     **SCREAMING_SNAKE_CASE_							: Optional[Any]			):
        requires_backends(self       ,     ['vision']			)







class  UpperCamelCase__  (      metaclass=lowercase_    ):




      """simple docstring"""




      _SCREAMING_SNAKE_CASE    							=	["""vision"""]



      def __init__( self							: Union[str, Any]       ,     *SCREAMING_SNAKE_CASE_							: Optional[Any]       ,     **SCREAMING_SNAKE_CASE_							: Union[str, Any]			):
        requires_backends(self       ,     ['vision']			)







class  UpperCamelCase__  (      metaclass=lowercase_    ):




      """simple docstring"""




      _SCREAMING_SNAKE_CASE    							=	["""vision"""]



      def __init__( self							: Tuple       ,     *SCREAMING_SNAKE_CASE_							: Any       ,     **SCREAMING_SNAKE_CASE_							: Optional[int]			):
        requires_backends(self       ,     ['vision']			)







class  UpperCamelCase__  (      metaclass=lowercase_    ):




      """simple docstring"""




      _SCREAMING_SNAKE_CASE    							=	["""vision"""]



      def __init__( self							: Tuple       ,     *SCREAMING_SNAKE_CASE_							: Dict       ,     **SCREAMING_SNAKE_CASE_							: Any			):
        requires_backends(self       ,     ['vision']			)







class  UpperCamelCase__  (      metaclass=lowercase_    ):




      """simple docstring"""




      _SCREAMING_SNAKE_CASE    							=	["""vision"""]



      def __init__( self							: int       ,     *SCREAMING_SNAKE_CASE_							: List[str]       ,     **SCREAMING_SNAKE_CASE_							: str			):
        requires_backends(self       ,     ['vision']			)







class  UpperCamelCase__  (      metaclass=lowercase_    ):




      """simple docstring"""




      _SCREAMING_SNAKE_CASE    							=	["""vision"""]



      def __init__( self							: Optional[Any]       ,     *SCREAMING_SNAKE_CASE_							: Optional[Any]       ,     **SCREAMING_SNAKE_CASE_							: Union[str, Any]			):
        requires_backends(self       ,     ['vision']			)







class  UpperCamelCase__  (      metaclass=lowercase_    ):




      """simple docstring"""




      _SCREAMING_SNAKE_CASE    							=	["""vision"""]



      def __init__( self							: Tuple       ,     *SCREAMING_SNAKE_CASE_							: Optional[Any]       ,     **SCREAMING_SNAKE_CASE_							: List[str]			):
        requires_backends(self       ,     ['vision']			)







class  UpperCamelCase__  (      metaclass=lowercase_    ):




      """simple docstring"""




      _SCREAMING_SNAKE_CASE    							=	["""vision"""]



      def __init__( self							: str       ,     *SCREAMING_SNAKE_CASE_							: int       ,     **SCREAMING_SNAKE_CASE_							: str			):
        requires_backends(self       ,     ['vision']			)







class  UpperCamelCase__  (      metaclass=lowercase_    ):




      """simple docstring"""




      _SCREAMING_SNAKE_CASE    							=	["""vision"""]



      def __init__( self							: str       ,     *SCREAMING_SNAKE_CASE_							: Optional[Any]       ,     **SCREAMING_SNAKE_CASE_							: Union[str, Any]			):
        requires_backends(self       ,     ['vision']			)







class  UpperCamelCase__  (      metaclass=lowercase_    ):




      """simple docstring"""




      _SCREAMING_SNAKE_CASE    							=	["""vision"""]



      def __init__( self							: Optional[int]       ,     *SCREAMING_SNAKE_CASE_							: Dict       ,     **SCREAMING_SNAKE_CASE_							: Tuple			):
        requires_backends(self       ,     ['vision']			)







class  UpperCamelCase__  (      metaclass=lowercase_    ):




      """simple docstring"""




      _SCREAMING_SNAKE_CASE    							=	["""vision"""]



      def __init__( self							: List[str]       ,     *SCREAMING_SNAKE_CASE_							: Optional[Any]       ,     **SCREAMING_SNAKE_CASE_							: str			):
        requires_backends(self       ,     ['vision']			)







class  UpperCamelCase__  (      metaclass=lowercase_    ):




      """simple docstring"""




      _SCREAMING_SNAKE_CASE    							=	["""vision"""]



      def __init__( self							: Tuple       ,     *SCREAMING_SNAKE_CASE_							: Any       ,     **SCREAMING_SNAKE_CASE_							: int			):
        requires_backends(self       ,     ['vision']			)







class  UpperCamelCase__  (      metaclass=lowercase_    ):




      """simple docstring"""




      _SCREAMING_SNAKE_CASE    							=	["""vision"""]



      def __init__( self							: Dict       ,     *SCREAMING_SNAKE_CASE_							: Union[str, Any]       ,     **SCREAMING_SNAKE_CASE_							: List[Any]			):
        requires_backends(self       ,     ['vision']			)







class  UpperCamelCase__  (      metaclass=lowercase_    ):




      """simple docstring"""




      _SCREAMING_SNAKE_CASE    							=	["""vision"""]



      def __init__( self							: Union[str, Any]       ,     *SCREAMING_SNAKE_CASE_							: str       ,     **SCREAMING_SNAKE_CASE_							: Optional[int]			):
        requires_backends(self       ,     ['vision']			)







class  UpperCamelCase__  (      metaclass=lowercase_    ):




      """simple docstring"""




      _SCREAMING_SNAKE_CASE    							=	["""vision"""]



      def __init__( self							: List[Any]       ,     *SCREAMING_SNAKE_CASE_							: Any       ,     **SCREAMING_SNAKE_CASE_							: List[str]			):
        requires_backends(self       ,     ['vision']			)







class  UpperCamelCase__  (      metaclass=lowercase_    ):




      """simple docstring"""




      _SCREAMING_SNAKE_CASE    							=	["""vision"""]



      def __init__( self							: List[str]       ,     *SCREAMING_SNAKE_CASE_							: Optional[int]       ,     **SCREAMING_SNAKE_CASE_							: Tuple			):
        requires_backends(self       ,     ['vision']			)







class  UpperCamelCase__  (      metaclass=lowercase_    ):




      """simple docstring"""




      _SCREAMING_SNAKE_CASE    							=	["""vision"""]



      def __init__( self							: str       ,     *SCREAMING_SNAKE_CASE_							: List[str]       ,     **SCREAMING_SNAKE_CASE_							: List[str]			):
        requires_backends(self       ,     ['vision']			)







class  UpperCamelCase__  (      metaclass=lowercase_    ):




      """simple docstring"""




      _SCREAMING_SNAKE_CASE    							=	["""vision"""]



      def __init__( self							: List[Any]       ,     *SCREAMING_SNAKE_CASE_							: Any       ,     **SCREAMING_SNAKE_CASE_							: List[str]			):
        requires_backends(self       ,     ['vision']			)







class  UpperCamelCase__  (      metaclass=lowercase_    ):




      """simple docstring"""




      _SCREAMING_SNAKE_CASE    							=	["""vision"""]



      def __init__( self							: List[str]       ,     *SCREAMING_SNAKE_CASE_							: Dict       ,     **SCREAMING_SNAKE_CASE_							: Dict			):
        requires_backends(self       ,     ['vision']			)







class  UpperCamelCase__  (      metaclass=lowercase_    ):




      """simple docstring"""




      _SCREAMING_SNAKE_CASE    							=	["""vision"""]



      def __init__( self							: Tuple       ,     *SCREAMING_SNAKE_CASE_							: List[str]       ,     **SCREAMING_SNAKE_CASE_							: List[Any]			):
        requires_backends(self       ,     ['vision']			)







class  UpperCamelCase__  (      metaclass=lowercase_    ):




      """simple docstring"""




      _SCREAMING_SNAKE_CASE    							=	["""vision"""]



      def __init__( self							: Dict       ,     *SCREAMING_SNAKE_CASE_							: Union[str, Any]       ,     **SCREAMING_SNAKE_CASE_							: List[Any]			):
        requires_backends(self       ,     ['vision']			)







class  UpperCamelCase__  (      metaclass=lowercase_    ):




      """simple docstring"""




      _SCREAMING_SNAKE_CASE    							=	["""vision"""]



      def __init__( self							: Any       ,     *SCREAMING_SNAKE_CASE_							: int       ,     **SCREAMING_SNAKE_CASE_							: Optional[int]			):
        requires_backends(self       ,     ['vision']			)







class  UpperCamelCase__  (      metaclass=lowercase_    ):




      """simple docstring"""




      _SCREAMING_SNAKE_CASE    							=	["""vision"""]



      def __init__( self							: Dict       ,     *SCREAMING_SNAKE_CASE_							: str       ,     **SCREAMING_SNAKE_CASE_							: Tuple			):
        requires_backends(self       ,     ['vision']			)







class  UpperCamelCase__  (      metaclass=lowercase_    ):




      """simple docstring"""




      _SCREAMING_SNAKE_CASE    							=	["""vision"""]



      def __init__( self							: Optional[Any]       ,     *SCREAMING_SNAKE_CASE_							: List[Any]       ,     **SCREAMING_SNAKE_CASE_							: Optional[int]			):
        requires_backends(self       ,     ['vision']			)







class  UpperCamelCase__  (      metaclass=lowercase_    ):




      """simple docstring"""




      _SCREAMING_SNAKE_CASE    							=	["""vision"""]



      def __init__( self							: Any       ,     *SCREAMING_SNAKE_CASE_							: Dict       ,     **SCREAMING_SNAKE_CASE_							: Union[str, Any]			):
        requires_backends(self       ,     ['vision']			)







class  UpperCamelCase__  (      metaclass=lowercase_    ):




      """simple docstring"""




      _SCREAMING_SNAKE_CASE    							=	["""vision"""]



      def __init__( self							: str       ,     *SCREAMING_SNAKE_CASE_							: Optional[Any]       ,     **SCREAMING_SNAKE_CASE_							: List[str]			):
        requires_backends(self       ,     ['vision']			)







class  UpperCamelCase__  (      metaclass=lowercase_    ):




      """simple docstring"""




      _SCREAMING_SNAKE_CASE    							=	["""vision"""]



      def __init__( self							: Tuple       ,     *SCREAMING_SNAKE_CASE_							: List[str]       ,     **SCREAMING_SNAKE_CASE_							: int			):
        requires_backends(self       ,     ['vision']			)







class  UpperCamelCase__  (      metaclass=lowercase_    ):




      """simple docstring"""




      _SCREAMING_SNAKE_CASE    							=	["""vision"""]



      def __init__( self							: List[Any]       ,     *SCREAMING_SNAKE_CASE_							: List[Any]       ,     **SCREAMING_SNAKE_CASE_							: Dict			):
        requires_backends(self       ,     ['vision']			)







class  UpperCamelCase__  (      metaclass=lowercase_    ):




      """simple docstring"""




      _SCREAMING_SNAKE_CASE    							=	["""vision"""]



      def __init__( self							: Optional[Any]       ,     *SCREAMING_SNAKE_CASE_							: List[Any]       ,     **SCREAMING_SNAKE_CASE_							: str			):
        requires_backends(self       ,     ['vision']			)







class  UpperCamelCase__  (      metaclass=lowercase_    ):




      """simple docstring"""




      _SCREAMING_SNAKE_CASE    							=	["""vision"""]



      def __init__( self							: str       ,     *SCREAMING_SNAKE_CASE_							: Tuple       ,     **SCREAMING_SNAKE_CASE_							: Optional[Any]			):
        requires_backends(self       ,     ['vision']			)





