



import argparse

import torch

from transformers import (
    WavaVecaFeatureExtractor,
    WavLMConfig,
    WavLMForAudioFrameClassification,
    WavLMForSequenceClassification,
    WavLMForXVector,
    logging,
)


logging.set_verbosity_info()
_lowercase				:					Union[str, Any]     					=logging.get_logger(__name__)




def    UpperCAmelCase					(  lowercase__						:					str				,					lowercase__						:					int				,					lowercase__						:					str	):



			'''simple docstring'''





			a__					=  WavLMForSequenceClassification.from_pretrained(lowercase__				,					config=lowercase__	)
			a__					=  downstream_dict["""projector.weight"""]
			a__					=  downstream_dict["""projector.bias"""]
			a__					=  downstream_dict["""model.post_net.linear.weight"""]
			a__					=  downstream_dict["""model.post_net.linear.bias"""]
			return model




def    UpperCAmelCase					(  lowercase__						:					Optional[Any]				,					lowercase__						:					Union[str, Any]				,					lowercase__						:					str	):



			'''simple docstring'''





			a__					=  WavLMForAudioFrameClassification.from_pretrained(lowercase__				,					config=lowercase__	)
			a__					=  downstream_dict["""model.linear.weight"""]
			a__					=  downstream_dict["""model.linear.bias"""]
			return model




def    UpperCAmelCase					(  lowercase__						:					Dict				,					lowercase__						:					List[Any]				,					lowercase__						:					Union[str, Any]	):



			'''simple docstring'''





			a__					=  WavLMForXVector.from_pretrained(lowercase__				,					config=lowercase__	)
			a__					=  downstream_dict["""connector.weight"""]
			a__					=  downstream_dict["""connector.bias"""]
			for i, kernel_size in enumerate(hf_config.tdnn_kernel	):
						a__					=  downstream_dict[
						    f'model.framelevel_feature_extractor.module.{i}.kernel.weight'
						]
						a__					=  downstream_dict[f'model.framelevel_feature_extractor.module.{i}.kernel.bias']

			a__					=  downstream_dict["""model.utterancelevel_feature_extractor.linear1.weight"""]
			a__					=  downstream_dict["""model.utterancelevel_feature_extractor.linear1.bias"""]
			a__					=  downstream_dict["""model.utterancelevel_feature_extractor.linear2.weight"""]
			a__					=  downstream_dict["""model.utterancelevel_feature_extractor.linear2.bias"""]
			a__					=  downstream_dict["""objective.W"""]
			return model




@torch.no_grad()
def    UpperCAmelCase					(  lowercase__						:					Dict				,					lowercase__						:					Tuple				,					lowercase__						:					List[str]				,					lowercase__						:					Optional[Any]	):



			'''simple docstring'''





			a__					=  torch.load(lowercase__				,					map_location="""cpu"""	)

			a__					=  checkpoint["""Downstream"""]

			a__					=  WavLMConfig.from_pretrained(lowercase__	)
			a__					=  WavaVecaFeatureExtractor.from_pretrained(
			    lowercase__				,					return_attention_mask=lowercase__				,					do_normalize=lowercase__	)

			a__					=  hf_config.architectures[0]
			if arch.endswith("""ForSequenceClassification"""	):
						a__					=  convert_classification(lowercase__				,					lowercase__				,					lowercase__	)
			elif arch.endswith("""ForAudioFrameClassification"""	):
						a__					=  convert_diarization(lowercase__				,					lowercase__				,					lowercase__	)
			elif arch.endswith("""ForXVector"""	):
						a__					=  convert_xvector(lowercase__				,					lowercase__				,					lowercase__	)
			else:
						raise NotImplementedError(f'S3PRL weights conversion is not supported for {arch}'	)

			if hf_config.use_weighted_layer_sum:
						a__					=  checkpoint["""Featurizer"""]["""weights"""]

			hf_feature_extractor.save_pretrained(lowercase__	)
			hf_model.save_pretrained(lowercase__	)


if __name__ == "__main__":
	_lowercase				:					int     					=argparse.ArgumentParser()
	parser.add_argument(
	    """--base_model_name""", default=None, type=str, help="""Name of the huggingface pretrained base model."""
	)
	parser.add_argument("""--config_path""", default=None, type=str, help="""Path to the huggingface classifier config.""")
	parser.add_argument("""--checkpoint_path""", default=None, type=str, help="""Path to the s3prl checkpoint.""")
	parser.add_argument("""--model_dump_path""", default=None, type=str, help="""Path to the final converted model.""")
	_lowercase				:					Any     					=parser.parse_args()
	convert_saprl_checkpoint(args.base_model_name, args.config_path, args.checkpoint_path, args.model_dump_path)






from ..utils import DummyObject, requires_backends
class lowerCAmelCase_       (   metaclass=A_			):







	'''simple docstring'''




	A_       :     List[str]									=		['vision']

	def __init__(	self   ,       *lowerCamelCase   ,       **lowerCamelCase       ):



				'''simple docstring'''


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


class lowerCAmelCase_       (   metaclass=A_			):







	'''simple docstring'''




	A_       :     Dict									=		['vision']

	def __init__(	self   ,       *lowerCamelCase   ,       **lowerCamelCase       ):



				'''simple docstring'''


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


class lowerCAmelCase_       (   metaclass=A_			):







	'''simple docstring'''




	A_       :     Union[str, Any]									=		['vision']

	def __init__(	self   ,       *lowerCamelCase   ,       **lowerCamelCase       ):



				'''simple docstring'''


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


class lowerCAmelCase_       (   metaclass=A_			):







	'''simple docstring'''




	A_       :     Any									=		['vision']

	def __init__(	self   ,       *lowerCamelCase   ,       **lowerCamelCase       ):



				'''simple docstring'''


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


class lowerCAmelCase_       (   metaclass=A_			):







	'''simple docstring'''




	A_       :     Dict									=		['vision']

	def __init__(	self   ,       *lowerCamelCase   ,       **lowerCamelCase       ):



				'''simple docstring'''


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


class lowerCAmelCase_       (   metaclass=A_			):







	'''simple docstring'''




	A_       :     Dict									=		['vision']

	def __init__(	self   ,       *lowerCamelCase   ,       **lowerCamelCase       ):



				'''simple docstring'''


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


class lowerCAmelCase_       (   metaclass=A_			):







	'''simple docstring'''




	A_       :     str									=		['vision']

	def __init__(	self   ,       *lowerCamelCase   ,       **lowerCamelCase       ):



				'''simple docstring'''


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


class lowerCAmelCase_       (   metaclass=A_			):







	'''simple docstring'''




	A_       :     Any									=		['vision']

	def __init__(	self   ,       *lowerCamelCase   ,       **lowerCamelCase       ):



				'''simple docstring'''


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


class lowerCAmelCase_       (   metaclass=A_			):







	'''simple docstring'''




	A_       :     Any									=		['vision']

	def __init__(	self   ,       *lowerCamelCase   ,       **lowerCamelCase       ):



				'''simple docstring'''


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


class lowerCAmelCase_       (   metaclass=A_			):







	'''simple docstring'''




	A_       :     Dict									=		['vision']

	def __init__(	self   ,       *lowerCamelCase   ,       **lowerCamelCase       ):



				'''simple docstring'''


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


class lowerCAmelCase_       (   metaclass=A_			):







	'''simple docstring'''




	A_       :     List[str]									=		['vision']

	def __init__(	self   ,       *lowerCamelCase   ,       **lowerCamelCase       ):



				'''simple docstring'''


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


class lowerCAmelCase_       (   metaclass=A_			):







	'''simple docstring'''




	A_       :     Union[str, Any]									=		['vision']

	def __init__(	self   ,       *lowerCamelCase   ,       **lowerCamelCase       ):



				'''simple docstring'''


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


class lowerCAmelCase_       (   metaclass=A_			):







	'''simple docstring'''




	A_       :     str									=		['vision']

	def __init__(	self   ,       *lowerCamelCase   ,       **lowerCamelCase       ):



				'''simple docstring'''


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


class lowerCAmelCase_       (   metaclass=A_			):







	'''simple docstring'''




	A_       :     List[str]									=		['vision']

	def __init__(	self   ,       *lowerCamelCase   ,       **lowerCamelCase       ):



				'''simple docstring'''


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


class lowerCAmelCase_       (   metaclass=A_			):







	'''simple docstring'''




	A_       :     List[str]									=		['vision']

	def __init__(	self   ,       *lowerCamelCase   ,       **lowerCamelCase       ):



				'''simple docstring'''


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


class lowerCAmelCase_       (   metaclass=A_			):







	'''simple docstring'''




	A_       :     Union[str, Any]									=		['vision']

	def __init__(	self   ,       *lowerCamelCase   ,       **lowerCamelCase       ):



				'''simple docstring'''


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


class lowerCAmelCase_       (   metaclass=A_			):







	'''simple docstring'''




	A_       :     Union[str, Any]									=		['vision']

	def __init__(	self   ,       *lowerCamelCase   ,       **lowerCamelCase       ):



				'''simple docstring'''


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


class lowerCAmelCase_       (   metaclass=A_			):







	'''simple docstring'''




	A_       :     Optional[int]									=		['vision']

	def __init__(	self   ,       *lowerCamelCase   ,       **lowerCamelCase       ):



				'''simple docstring'''


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


class lowerCAmelCase_       (   metaclass=A_			):







	'''simple docstring'''




	A_       :     Union[str, Any]									=		['vision']

	def __init__(	self   ,       *lowerCamelCase   ,       **lowerCamelCase       ):



				'''simple docstring'''


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


class lowerCAmelCase_       (   metaclass=A_			):







	'''simple docstring'''




	A_       :     List[Any]									=		['vision']

	def __init__(	self   ,       *lowerCamelCase   ,       **lowerCamelCase       ):



				'''simple docstring'''


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


class lowerCAmelCase_       (   metaclass=A_			):







	'''simple docstring'''




	A_       :     Dict									=		['vision']

	def __init__(	self   ,       *lowerCamelCase   ,       **lowerCamelCase       ):



				'''simple docstring'''


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


class lowerCAmelCase_       (   metaclass=A_			):







	'''simple docstring'''




	A_       :     List[str]									=		['vision']

	def __init__(	self   ,       *lowerCamelCase   ,       **lowerCamelCase       ):



				'''simple docstring'''


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


class lowerCAmelCase_       (   metaclass=A_			):







	'''simple docstring'''




	A_       :     Union[str, Any]									=		['vision']

	def __init__(	self   ,       *lowerCamelCase   ,       **lowerCamelCase       ):



				'''simple docstring'''


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


class lowerCAmelCase_       (   metaclass=A_			):







	'''simple docstring'''




	A_       :     List[Any]									=		['vision']

	def __init__(	self   ,       *lowerCamelCase   ,       **lowerCamelCase       ):



				'''simple docstring'''


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


class lowerCAmelCase_       (   metaclass=A_			):







	'''simple docstring'''




	A_       :     int									=		['vision']

	def __init__(	self   ,       *lowerCamelCase   ,       **lowerCamelCase       ):



				'''simple docstring'''


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


class lowerCAmelCase_       (   metaclass=A_			):







	'''simple docstring'''




	A_       :     str									=		['vision']

	def __init__(	self   ,       *lowerCamelCase   ,       **lowerCamelCase       ):



				'''simple docstring'''


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


class lowerCAmelCase_       (   metaclass=A_			):







	'''simple docstring'''




	A_       :     Dict									=		['vision']

	def __init__(	self   ,       *lowerCamelCase   ,       **lowerCamelCase       ):



				'''simple docstring'''


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


class lowerCAmelCase_       (   metaclass=A_			):







	'''simple docstring'''




	A_       :     str									=		['vision']

	def __init__(	self   ,       *lowerCamelCase   ,       **lowerCamelCase       ):



				'''simple docstring'''


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


class lowerCAmelCase_       (   metaclass=A_			):







	'''simple docstring'''




	A_       :     Optional[Any]									=		['vision']

	def __init__(	self   ,       *lowerCamelCase   ,       **lowerCamelCase       ):



				'''simple docstring'''


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


class lowerCAmelCase_       (   metaclass=A_			):







	'''simple docstring'''




	A_       :     List[Any]									=		['vision']

	def __init__(	self   ,       *lowerCamelCase   ,       **lowerCamelCase       ):



				'''simple docstring'''


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


class lowerCAmelCase_       (   metaclass=A_			):







	'''simple docstring'''




	A_       :     Optional[int]									=		['vision']

	def __init__(	self   ,       *lowerCamelCase   ,       **lowerCamelCase       ):



				'''simple docstring'''


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


class lowerCAmelCase_       (   metaclass=A_			):







	'''simple docstring'''




	A_       :     Optional[int]									=		['vision']

	def __init__(	self   ,       *lowerCamelCase   ,       **lowerCamelCase       ):



				'''simple docstring'''


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


class lowerCAmelCase_       (   metaclass=A_			):







	'''simple docstring'''




	A_       :     Tuple									=		['vision']

	def __init__(	self   ,       *lowerCamelCase   ,       **lowerCamelCase       ):



				'''simple docstring'''


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


class lowerCAmelCase_       (   metaclass=A_			):







	'''simple docstring'''




	A_       :     Dict									=		['vision']

	def __init__(	self   ,       *lowerCamelCase   ,       **lowerCamelCase       ):



				'''simple docstring'''


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


class lowerCAmelCase_       (   metaclass=A_			):







	'''simple docstring'''




	A_       :     int									=		['vision']

	def __init__(	self   ,       *lowerCamelCase   ,       **lowerCamelCase       ):



				'''simple docstring'''


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


class lowerCAmelCase_       (   metaclass=A_			):







	'''simple docstring'''




	A_       :     Dict									=		['vision']

	def __init__(	self   ,       *lowerCamelCase   ,       **lowerCamelCase       ):



				'''simple docstring'''


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


class lowerCAmelCase_       (   metaclass=A_			):







	'''simple docstring'''




	A_       :     Any									=		['vision']

	def __init__(	self   ,       *lowerCamelCase   ,       **lowerCamelCase       ):



				'''simple docstring'''


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


class lowerCAmelCase_       (   metaclass=A_			):







	'''simple docstring'''




	A_       :     Optional[int]									=		['vision']

	def __init__(	self   ,       *lowerCamelCase   ,       **lowerCamelCase       ):



				'''simple docstring'''


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


class lowerCAmelCase_       (   metaclass=A_			):







	'''simple docstring'''




	A_       :     List[str]									=		['vision']

	def __init__(	self   ,       *lowerCamelCase   ,       **lowerCamelCase       ):



				'''simple docstring'''


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


class lowerCAmelCase_       (   metaclass=A_			):







	'''simple docstring'''




	A_       :     Any									=		['vision']

	def __init__(	self   ,       *lowerCamelCase   ,       **lowerCamelCase       ):



				'''simple docstring'''


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


class lowerCAmelCase_       (   metaclass=A_			):







	'''simple docstring'''




	A_       :     Optional[Any]									=		['vision']

	def __init__(	self   ,       *lowerCamelCase   ,       **lowerCamelCase       ):



				'''simple docstring'''


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


class lowerCAmelCase_       (   metaclass=A_			):







	'''simple docstring'''




	A_       :     Optional[int]									=		['vision']

	def __init__(	self   ,       *lowerCamelCase   ,       **lowerCamelCase       ):



				'''simple docstring'''


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


class lowerCAmelCase_       (   metaclass=A_			):







	'''simple docstring'''




	A_       :     List[Any]									=		['vision']

	def __init__(	self   ,       *lowerCamelCase   ,       **lowerCamelCase       ):



				'''simple docstring'''


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


class lowerCAmelCase_       (   metaclass=A_			):







	'''simple docstring'''




	A_       :     Dict									=		['vision']

	def __init__(	self   ,       *lowerCamelCase   ,       **lowerCamelCase       ):



				'''simple docstring'''


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


class lowerCAmelCase_       (   metaclass=A_			):







	'''simple docstring'''




	A_       :     Optional[Any]									=		['vision']

	def __init__(	self   ,       *lowerCamelCase   ,       **lowerCamelCase       ):



				'''simple docstring'''


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


class lowerCAmelCase_       (   metaclass=A_			):







	'''simple docstring'''




	A_       :     Any									=		['vision']

	def __init__(	self   ,       *lowerCamelCase   ,       **lowerCamelCase       ):



				'''simple docstring'''


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


class lowerCAmelCase_       (   metaclass=A_			):







	'''simple docstring'''




	A_       :     Optional[int]									=		['vision']

	def __init__(	self   ,       *lowerCamelCase   ,       **lowerCamelCase       ):



				'''simple docstring'''


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


class lowerCAmelCase_       (   metaclass=A_			):







	'''simple docstring'''




	A_       :     int									=		['vision']

	def __init__(	self   ,       *lowerCamelCase   ,       **lowerCamelCase       ):



				'''simple docstring'''


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


class lowerCAmelCase_       (   metaclass=A_			):







	'''simple docstring'''




	A_       :     List[str]									=		['vision']

	def __init__(	self   ,       *lowerCamelCase   ,       **lowerCamelCase       ):



				'''simple docstring'''


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


class lowerCAmelCase_       (   metaclass=A_			):







	'''simple docstring'''




	A_       :     Union[str, Any]									=		['vision']

	def __init__(	self   ,       *lowerCamelCase   ,       **lowerCamelCase       ):



				'''simple docstring'''


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


class lowerCAmelCase_       (   metaclass=A_			):







	'''simple docstring'''




	A_       :     Tuple									=		['vision']

	def __init__(	self   ,       *lowerCamelCase   ,       **lowerCamelCase       ):



				'''simple docstring'''


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


class lowerCAmelCase_       (   metaclass=A_			):







	'''simple docstring'''




	A_       :     Union[str, Any]									=		['vision']

	def __init__(	self   ,       *lowerCamelCase   ,       **lowerCamelCase       ):



				'''simple docstring'''


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


class lowerCAmelCase_       (   metaclass=A_			):







	'''simple docstring'''




	A_       :     str									=		['vision']

	def __init__(	self   ,       *lowerCamelCase   ,       **lowerCamelCase       ):



				'''simple docstring'''


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


class lowerCAmelCase_       (   metaclass=A_			):







	'''simple docstring'''




	A_       :     List[str]									=		['vision']

	def __init__(	self   ,       *lowerCamelCase   ,       **lowerCamelCase       ):



				'''simple docstring'''


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


class lowerCAmelCase_       (   metaclass=A_			):







	'''simple docstring'''




	A_       :     Any									=		['vision']

	def __init__(	self   ,       *lowerCamelCase   ,       **lowerCamelCase       ):



				'''simple docstring'''


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


class lowerCAmelCase_       (   metaclass=A_			):







	'''simple docstring'''




	A_       :     List[Any]									=		['vision']

	def __init__(	self   ,       *lowerCamelCase   ,       **lowerCamelCase       ):



				'''simple docstring'''


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


class lowerCAmelCase_       (   metaclass=A_			):







	'''simple docstring'''




	A_       :     int									=		['vision']

	def __init__(	self   ,       *lowerCamelCase   ,       **lowerCamelCase       ):



				'''simple docstring'''


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


class lowerCAmelCase_       (   metaclass=A_			):







	'''simple docstring'''




	A_       :     Optional[Any]									=		['vision']

	def __init__(	self   ,       *lowerCamelCase   ,       **lowerCamelCase       ):



				'''simple docstring'''


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


class lowerCAmelCase_       (   metaclass=A_			):







	'''simple docstring'''




	A_       :     Optional[int]									=		['vision']

	def __init__(	self   ,       *lowerCamelCase   ,       **lowerCamelCase       ):



				'''simple docstring'''


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


class lowerCAmelCase_       (   metaclass=A_			):







	'''simple docstring'''




	A_       :     Union[str, Any]									=		['vision']

	def __init__(	self   ,       *lowerCamelCase   ,       **lowerCamelCase       ):



				'''simple docstring'''


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


class lowerCAmelCase_       (   metaclass=A_			):







	'''simple docstring'''




	A_       :     List[str]									=		['vision']

	def __init__(	self   ,       *lowerCamelCase   ,       **lowerCamelCase       ):



				'''simple docstring'''


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


class lowerCAmelCase_       (   metaclass=A_			):







	'''simple docstring'''




	A_       :     Tuple									=		['vision']

	def __init__(	self   ,       *lowerCamelCase   ,       **lowerCamelCase       ):



				'''simple docstring'''


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


class lowerCAmelCase_       (   metaclass=A_			):







	'''simple docstring'''




	A_       :     Tuple									=		['vision']

	def __init__(	self   ,       *lowerCamelCase   ,       **lowerCamelCase       ):



				'''simple docstring'''


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


class lowerCAmelCase_       (   metaclass=A_			):







	'''simple docstring'''




	A_       :     Tuple									=		['vision']

	def __init__(	self   ,       *lowerCamelCase   ,       **lowerCamelCase       ):



				'''simple docstring'''


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


class lowerCAmelCase_       (   metaclass=A_			):







	'''simple docstring'''




	A_       :     List[Any]									=		['vision']

	def __init__(	self   ,       *lowerCamelCase   ,       **lowerCamelCase       ):



				'''simple docstring'''


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


class lowerCAmelCase_       (   metaclass=A_			):







	'''simple docstring'''




	A_       :     List[str]									=		['vision']

	def __init__(	self   ,       *lowerCamelCase   ,       **lowerCamelCase       ):



				'''simple docstring'''


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


class lowerCAmelCase_       (   metaclass=A_			):







	'''simple docstring'''




	A_       :     Tuple									=		['vision']

	def __init__(	self   ,       *lowerCamelCase   ,       **lowerCamelCase       ):



				'''simple docstring'''


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


class lowerCAmelCase_       (   metaclass=A_			):







	'''simple docstring'''




	A_       :     str									=		['vision']

	def __init__(	self   ,       *lowerCamelCase   ,       **lowerCamelCase       ):



				'''simple docstring'''


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


class lowerCAmelCase_       (   metaclass=A_			):







	'''simple docstring'''




	A_       :     int									=		['vision']

	def __init__(	self   ,       *lowerCamelCase   ,       **lowerCamelCase       ):



				'''simple docstring'''


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


class lowerCAmelCase_       (   metaclass=A_			):







	'''simple docstring'''




	A_       :     Any									=		['vision']

	def __init__(	self   ,       *lowerCamelCase   ,       **lowerCamelCase       ):



				'''simple docstring'''


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


class lowerCAmelCase_       (   metaclass=A_			):







	'''simple docstring'''




	A_       :     int									=		['vision']

	def __init__(	self   ,       *lowerCamelCase   ,       **lowerCamelCase       ):



				'''simple docstring'''


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


class lowerCAmelCase_       (   metaclass=A_			):







	'''simple docstring'''




	A_       :     str									=		['vision']

	def __init__(	self   ,       *lowerCamelCase   ,       **lowerCamelCase       ):



				'''simple docstring'''


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


class lowerCAmelCase_       (   metaclass=A_			):







	'''simple docstring'''




	A_       :     Any									=		['vision']

	def __init__(	self   ,       *lowerCamelCase   ,       **lowerCamelCase       ):



				'''simple docstring'''


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


class lowerCAmelCase_       (   metaclass=A_			):







	'''simple docstring'''




	A_       :     Dict									=		['vision']

	def __init__(	self   ,       *lowerCamelCase   ,       **lowerCamelCase       ):



				'''simple docstring'''


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

