


'''simple docstring'''

import math
from typing import Dict, Iterable, List, Optional, Tuple, Union

import numpy as np

from ...image_processing_utils import BaseImageProcessor, BatchFeature, get_size_dict
from ...image_transforms import normalize, rescale, resize, to_channel_dimension_format
from ...image_utils import (
    IMAGENET_STANDARD_MEAN,
    IMAGENET_STANDARD_STD,
    ChannelDimension,
    ImageInput,
    PILImageResampling,
    get_image_size,
    is_torch_available,
    is_torch_tensor,
    make_list_of_images,
    to_numpy_array,
    valid_images,
)
from ...utils import TensorType, is_vision_available, logging


if is_torch_available():
	import torch

if is_vision_available():
	import PIL


_UpperCAmelCase				: List[str]							    =				logging.get_logger(__name__)

def 							__magic_name__(						lowerCamelCase,				lowerCamelCase,				lowerCamelCase,				lowerCamelCase):
						def constraint_to_multiple_of(lowerCamelCase,				lowerCamelCase,				lowerCamelCase=0,				lowerCamelCase=None):
												__lowerCAmelCase							       =				round(val / multiple) * multiple

												if max_val is not None and x > max_val:
																		__lowerCAmelCase							       =				math.floor(val / multiple) * multiple

												if x < min_val:
																		__lowerCAmelCase							       =				math.ceil(val / multiple) * multiple

												return x

						__lowerCAmelCase							       =				(output_size, output_size) if isinstance(lowerCamelCase,				lowerCamelCase) else output_size

						__lowerCAmelCase       ,					__lowerCAmelCase							       =				get_image_size(lowerCamelCase)
						__lowerCAmelCase       ,					__lowerCAmelCase							       =				output_size

						# determine new height and width
						__lowerCAmelCase							       =				output_height / input_height
						__lowerCAmelCase							       =				output_width / input_width

						if keep_aspect_ratio:
												# scale as little as possible
												if abs(1 - scale_width) < abs(1 - scale_height):
																		# fit width
																		__lowerCAmelCase							       =				scale_width
												else:
																		# fit height
																		__lowerCAmelCase							       =				scale_height

						__lowerCAmelCase							       =				constraint_to_multiple_of(scale_height * input_height,				multiple=lowerCamelCase)
						__lowerCAmelCase							       =				constraint_to_multiple_of(scale_width * input_width,				multiple=lowerCamelCase)

						return (new_height, new_width)




class       a__				( __A      ):







				"""simple docstring"""



				__UpperCamelCase    :		Union[str, Any]	=	['pixel_values']




				def __init__(self       ,			__lowercase = True       ,			__lowercase = None       ,			__lowercase = PILImageResampling.BILINEAR       ,			__lowercase = False       ,			__lowercase = 1       ,			__lowercase = True       ,			__lowercase = 1 / 2_55       ,			__lowercase = True       ,			__lowercase = None       ,			__lowercase = None       ,			**__lowercase       ,			):
										super().__init__(**__lowercase		)
										__lowerCAmelCase							       =				size if size is not None else {'''height''': 3_84, '''width''': 3_84}
										__lowerCAmelCase							       =				get_size_dict(__lowercase		)
										__lowerCAmelCase							       =				do_resize
										__lowerCAmelCase							       =				size
										__lowerCAmelCase							       =				keep_aspect_ratio
										__lowerCAmelCase							       =				ensure_multiple_of
										__lowerCAmelCase							       =				resample
										__lowerCAmelCase							       =				do_rescale
										__lowerCAmelCase							       =				rescale_factor
										__lowerCAmelCase							       =				do_normalize
										__lowerCAmelCase							       =				image_mean if image_mean is not None else IMAGENET_STANDARD_MEAN
										__lowerCAmelCase							       =				image_std if image_std is not None else IMAGENET_STANDARD_STD




				def 					_snake_case  (self       ,			__lowercase       ,			__lowercase       ,			__lowercase = False       ,			__lowercase = 1       ,			__lowercase = PILImageResampling.BICUBIC       ,			__lowercase = None       ,			**__lowercase       ,			):
										__lowerCAmelCase							       =				get_size_dict(__lowercase		)
										if "height" not in size or "width" not in size:
																raise ValueError(F"""The size dictionary must contain the keys 'height' and 'width'. Got {size.keys()}"""		)
										__lowerCAmelCase							       =				get_resize_output_image_size(
										    __lowercase       ,			output_size=(size['''height'''], size['''width'''])       ,			keep_aspect_ratio=__lowercase       ,			multiple=__lowercase       ,			)
										return resize(__lowercase       ,			size=__lowercase       ,			resample=__lowercase       ,			data_format=__lowercase       ,			**__lowercase		)




				def 					_snake_case  (self       ,			__lowercase       ,			__lowercase       ,			__lowercase = None       ,			**__lowercase       ,			):
										return rescale(__lowercase       ,			scale=__lowercase       ,			data_format=__lowercase       ,			**__lowercase		)




				def 					_snake_case  (self       ,			__lowercase       ,			__lowercase       ,			__lowercase       ,			__lowercase = None       ,			**__lowercase       ,			):
										return normalize(__lowercase       ,			mean=__lowercase       ,			std=__lowercase       ,			data_format=__lowercase       ,			**__lowercase		)




				def 					_snake_case  (self       ,			__lowercase       ,			__lowercase = None       ,			__lowercase = None       ,			__lowercase = None       ,			__lowercase = None       ,			__lowercase = None       ,			__lowercase = None       ,			__lowercase = None       ,			__lowercase = None       ,			__lowercase = None       ,			__lowercase = None       ,			__lowercase = None       ,			__lowercase = ChannelDimension.FIRST       ,			**__lowercase       ,			):
										__lowerCAmelCase							       =				do_resize if do_resize is not None else self.do_resize
										__lowerCAmelCase							       =				size if size is not None else self.size
										__lowerCAmelCase							       =				get_size_dict(__lowercase		)
										__lowerCAmelCase							       =				keep_aspect_ratio if keep_aspect_ratio is not None else self.keep_aspect_ratio
										__lowerCAmelCase							       =				ensure_multiple_of if ensure_multiple_of is not None else self.ensure_multiple_of
										__lowerCAmelCase							       =				resample if resample is not None else self.resample
										__lowerCAmelCase							       =				do_rescale if do_rescale is not None else self.do_rescale
										__lowerCAmelCase							       =				rescale_factor if rescale_factor is not None else self.rescale_factor
										__lowerCAmelCase							       =				do_normalize if do_normalize is not None else self.do_normalize
										__lowerCAmelCase							       =				image_mean if image_mean is not None else self.image_mean
										__lowerCAmelCase							       =				image_std if image_std is not None else self.image_std

										__lowerCAmelCase							       =				make_list_of_images(__lowercase		)

										if not valid_images(__lowercase		):
																raise ValueError(
																    '''Invalid image type. Must be of type PIL.Image.Image, numpy.ndarray, '''
																    '''torch.Tensor, tf.Tensor or jax.ndarray.'''		)

										if do_resize and size is None or resample is None:
																raise ValueError('''Size and resample must be specified if do_resize is True.'''		)

										if do_rescale and rescale_factor is None:
																raise ValueError('''Rescale factor must be specified if do_rescale is True.'''		)

										if do_normalize and (image_mean is None or image_std is None):
																raise ValueError('''Image mean and std must be specified if do_normalize is True.'''		)

										# All transformations expect numpy arrays.
										__lowerCAmelCase							       =				[to_numpy_array(__lowercase		) for image in images]

										if do_resize:
																__lowerCAmelCase							       =				[self.resize(image=__lowercase       ,			size=__lowercase       ,			resample=__lowercase		) for image in images]

										if do_rescale:
																__lowerCAmelCase							       =				[self.rescale(image=__lowercase       ,			scale=__lowercase		) for image in images]

										if do_normalize:
																__lowerCAmelCase							       =				[self.normalize(image=__lowercase       ,			mean=__lowercase       ,			std=__lowercase		) for image in images]

										__lowerCAmelCase							       =				[to_channel_dimension_format(__lowercase       ,			__lowercase		) for image in images]

										__lowerCAmelCase							       =				{'''pixel_values''': images}
										return BatchFeature(data=__lowercase       ,			tensor_type=__lowercase		)




				def 					_snake_case  (self       ,			__lowercase       ,			__lowercase = None		):
										__lowerCAmelCase							       =				outputs.logits

										# Resize logits and compute semantic segmentation maps
										if target_sizes is not None:
																if len(__lowercase		) != len(__lowercase		):
																						raise ValueError(
																						    '''Make sure that you pass in as many target sizes as the batch dimension of the logits'''		)

																if is_torch_tensor(__lowercase		):
																						__lowerCAmelCase							       =				target_sizes.numpy()

																__lowerCAmelCase							       =				[]

																for idx in range(len(__lowercase		)		):
																						__lowerCAmelCase							       =				torch.nn.functional.interpolate(
																						    logits[idx].unsqueeze(dim=0		)       ,			size=target_sizes[idx]       ,			mode='''bilinear'''       ,			align_corners=__lowercase		)
																						__lowerCAmelCase							       =				resized_logits[0].argmax(dim=0		)
																						semantic_segmentation.append(__lowercase		)
										else:
																__lowerCAmelCase							       =				logits.argmax(dim=1		)
																__lowerCAmelCase							       =				[semantic_segmentation[i] for i in range(semantic_segmentation.shape[0]		)]

										return semantic_segmentation





'''simple docstring'''

from ..utils import DummyObject, requires_backends


class       a__				( metaclass=__A      ):







				"""simple docstring"""



				__UpperCamelCase    :		Optional[int]	=	['torch']




				def __init__(self       ,			*__lowercase       ,			**__lowercase		):
										requires_backends(self       ,			['''torch''']		)




				@classmethod
				def 					_snake_case  (cls       ,			*__lowercase       ,			**__lowercase		):
										requires_backends(cls       ,			['''torch''']		)




				@classmethod
				def 					_snake_case  (cls       ,			*__lowercase       ,			**__lowercase		):
										requires_backends(cls       ,			['''torch''']		)


class       a__				( metaclass=__A      ):







				"""simple docstring"""



				__UpperCamelCase    :		Dict	=	['torch']




				def __init__(self       ,			*__lowercase       ,			**__lowercase		):
										requires_backends(self       ,			['''torch''']		)




				@classmethod
				def 					_snake_case  (cls       ,			*__lowercase       ,			**__lowercase		):
										requires_backends(cls       ,			['''torch''']		)




				@classmethod
				def 					_snake_case  (cls       ,			*__lowercase       ,			**__lowercase		):
										requires_backends(cls       ,			['''torch''']		)


class       a__				( metaclass=__A      ):







				"""simple docstring"""



				__UpperCamelCase    :		Any	=	['torch']




				def __init__(self       ,			*__lowercase       ,			**__lowercase		):
										requires_backends(self       ,			['''torch''']		)




				@classmethod
				def 					_snake_case  (cls       ,			*__lowercase       ,			**__lowercase		):
										requires_backends(cls       ,			['''torch''']		)




				@classmethod
				def 					_snake_case  (cls       ,			*__lowercase       ,			**__lowercase		):
										requires_backends(cls       ,			['''torch''']		)


class       a__				( metaclass=__A      ):







				"""simple docstring"""



				__UpperCamelCase    :		str	=	['torch']




				def __init__(self       ,			*__lowercase       ,			**__lowercase		):
										requires_backends(self       ,			['''torch''']		)




				@classmethod
				def 					_snake_case  (cls       ,			*__lowercase       ,			**__lowercase		):
										requires_backends(cls       ,			['''torch''']		)




				@classmethod
				def 					_snake_case  (cls       ,			*__lowercase       ,			**__lowercase		):
										requires_backends(cls       ,			['''torch''']		)


class       a__				( metaclass=__A      ):







				"""simple docstring"""



				__UpperCamelCase    :		Tuple	=	['torch']




				def __init__(self       ,			*__lowercase       ,			**__lowercase		):
										requires_backends(self       ,			['''torch''']		)




				@classmethod
				def 					_snake_case  (cls       ,			*__lowercase       ,			**__lowercase		):
										requires_backends(cls       ,			['''torch''']		)




				@classmethod
				def 					_snake_case  (cls       ,			*__lowercase       ,			**__lowercase		):
										requires_backends(cls       ,			['''torch''']		)


class       a__				( metaclass=__A      ):







				"""simple docstring"""



				__UpperCamelCase    :		Optional[int]	=	['torch']




				def __init__(self       ,			*__lowercase       ,			**__lowercase		):
										requires_backends(self       ,			['''torch''']		)




				@classmethod
				def 					_snake_case  (cls       ,			*__lowercase       ,			**__lowercase		):
										requires_backends(cls       ,			['''torch''']		)




				@classmethod
				def 					_snake_case  (cls       ,			*__lowercase       ,			**__lowercase		):
										requires_backends(cls       ,			['''torch''']		)


class       a__				( metaclass=__A      ):







				"""simple docstring"""



				__UpperCamelCase    :		List[Any]	=	['torch']




				def __init__(self       ,			*__lowercase       ,			**__lowercase		):
										requires_backends(self       ,			['''torch''']		)




				@classmethod
				def 					_snake_case  (cls       ,			*__lowercase       ,			**__lowercase		):
										requires_backends(cls       ,			['''torch''']		)




				@classmethod
				def 					_snake_case  (cls       ,			*__lowercase       ,			**__lowercase		):
										requires_backends(cls       ,			['''torch''']		)


class       a__				( metaclass=__A      ):







				"""simple docstring"""



				__UpperCamelCase    :		Optional[int]	=	['torch']




				def __init__(self       ,			*__lowercase       ,			**__lowercase		):
										requires_backends(self       ,			['''torch''']		)




				@classmethod
				def 					_snake_case  (cls       ,			*__lowercase       ,			**__lowercase		):
										requires_backends(cls       ,			['''torch''']		)




				@classmethod
				def 					_snake_case  (cls       ,			*__lowercase       ,			**__lowercase		):
										requires_backends(cls       ,			['''torch''']		)


class       a__				( metaclass=__A      ):







				"""simple docstring"""



				__UpperCamelCase    :		Optional[int]	=	['torch']




				def __init__(self       ,			*__lowercase       ,			**__lowercase		):
										requires_backends(self       ,			['''torch''']		)




				@classmethod
				def 					_snake_case  (cls       ,			*__lowercase       ,			**__lowercase		):
										requires_backends(cls       ,			['''torch''']		)




				@classmethod
				def 					_snake_case  (cls       ,			*__lowercase       ,			**__lowercase		):
										requires_backends(cls       ,			['''torch''']		)


class       a__				( metaclass=__A      ):







				"""simple docstring"""



				__UpperCamelCase    :		int	=	['torch']




				def __init__(self       ,			*__lowercase       ,			**__lowercase		):
										requires_backends(self       ,			['''torch''']		)




				@classmethod
				def 					_snake_case  (cls       ,			*__lowercase       ,			**__lowercase		):
										requires_backends(cls       ,			['''torch''']		)




				@classmethod
				def 					_snake_case  (cls       ,			*__lowercase       ,			**__lowercase		):
										requires_backends(cls       ,			['''torch''']		)


class       a__				( metaclass=__A      ):







				"""simple docstring"""



				__UpperCamelCase    :		int	=	['torch']




				def __init__(self       ,			*__lowercase       ,			**__lowercase		):
										requires_backends(self       ,			['''torch''']		)




				@classmethod
				def 					_snake_case  (cls       ,			*__lowercase       ,			**__lowercase		):
										requires_backends(cls       ,			['''torch''']		)




				@classmethod
				def 					_snake_case  (cls       ,			*__lowercase       ,			**__lowercase		):
										requires_backends(cls       ,			['''torch''']		)

def 							__magic_name__(						*lowerCamelCase,				**lowerCamelCase):
						requires_backends(lowerCamelCase,				['''torch'''])

def 							__magic_name__(						*lowerCamelCase,				**lowerCamelCase):
						requires_backends(lowerCamelCase,				['''torch'''])

def 							__magic_name__(						*lowerCamelCase,				**lowerCamelCase):
						requires_backends(lowerCamelCase,				['''torch'''])

def 							__magic_name__(						*lowerCamelCase,				**lowerCamelCase):
						requires_backends(lowerCamelCase,				['''torch'''])

def 							__magic_name__(						*lowerCamelCase,				**lowerCamelCase):
						requires_backends(lowerCamelCase,				['''torch'''])

def 							__magic_name__(						*lowerCamelCase,				**lowerCamelCase):
						requires_backends(lowerCamelCase,				['''torch'''])

def 							__magic_name__(						*lowerCamelCase,				**lowerCamelCase):
						requires_backends(lowerCamelCase,				['''torch'''])


class       a__				( metaclass=__A      ):







				"""simple docstring"""



				__UpperCamelCase    :		List[str]	=	['torch']




				def __init__(self       ,			*__lowercase       ,			**__lowercase		):
										requires_backends(self       ,			['''torch''']		)




				@classmethod
				def 					_snake_case  (cls       ,			*__lowercase       ,			**__lowercase		):
										requires_backends(cls       ,			['''torch''']		)




				@classmethod
				def 					_snake_case  (cls       ,			*__lowercase       ,			**__lowercase		):
										requires_backends(cls       ,			['''torch''']		)


class       a__				( metaclass=__A      ):







				"""simple docstring"""



				__UpperCamelCase    :		List[Any]	=	['torch']




				def __init__(self       ,			*__lowercase       ,			**__lowercase		):
										requires_backends(self       ,			['''torch''']		)




				@classmethod
				def 					_snake_case  (cls       ,			*__lowercase       ,			**__lowercase		):
										requires_backends(cls       ,			['''torch''']		)




				@classmethod
				def 					_snake_case  (cls       ,			*__lowercase       ,			**__lowercase		):
										requires_backends(cls       ,			['''torch''']		)


class       a__				( metaclass=__A      ):







				"""simple docstring"""



				__UpperCamelCase    :		Dict	=	['torch']




				def __init__(self       ,			*__lowercase       ,			**__lowercase		):
										requires_backends(self       ,			['''torch''']		)




				@classmethod
				def 					_snake_case  (cls       ,			*__lowercase       ,			**__lowercase		):
										requires_backends(cls       ,			['''torch''']		)




				@classmethod
				def 					_snake_case  (cls       ,			*__lowercase       ,			**__lowercase		):
										requires_backends(cls       ,			['''torch''']		)


class       a__				( metaclass=__A      ):







				"""simple docstring"""



				__UpperCamelCase    :		List[Any]	=	['torch']




				def __init__(self       ,			*__lowercase       ,			**__lowercase		):
										requires_backends(self       ,			['''torch''']		)




				@classmethod
				def 					_snake_case  (cls       ,			*__lowercase       ,			**__lowercase		):
										requires_backends(cls       ,			['''torch''']		)




				@classmethod
				def 					_snake_case  (cls       ,			*__lowercase       ,			**__lowercase		):
										requires_backends(cls       ,			['''torch''']		)


class       a__				( metaclass=__A      ):







				"""simple docstring"""



				__UpperCamelCase    :		List[str]	=	['torch']




				def __init__(self       ,			*__lowercase       ,			**__lowercase		):
										requires_backends(self       ,			['''torch''']		)




				@classmethod
				def 					_snake_case  (cls       ,			*__lowercase       ,			**__lowercase		):
										requires_backends(cls       ,			['''torch''']		)




				@classmethod
				def 					_snake_case  (cls       ,			*__lowercase       ,			**__lowercase		):
										requires_backends(cls       ,			['''torch''']		)


class       a__				( metaclass=__A      ):







				"""simple docstring"""



				__UpperCamelCase    :		Dict	=	['torch']




				def __init__(self       ,			*__lowercase       ,			**__lowercase		):
										requires_backends(self       ,			['''torch''']		)




				@classmethod
				def 					_snake_case  (cls       ,			*__lowercase       ,			**__lowercase		):
										requires_backends(cls       ,			['''torch''']		)




				@classmethod
				def 					_snake_case  (cls       ,			*__lowercase       ,			**__lowercase		):
										requires_backends(cls       ,			['''torch''']		)


class       a__				( metaclass=__A      ):







				"""simple docstring"""



				__UpperCamelCase    :		Union[str, Any]	=	['torch']




				def __init__(self       ,			*__lowercase       ,			**__lowercase		):
										requires_backends(self       ,			['''torch''']		)




				@classmethod
				def 					_snake_case  (cls       ,			*__lowercase       ,			**__lowercase		):
										requires_backends(cls       ,			['''torch''']		)




				@classmethod
				def 					_snake_case  (cls       ,			*__lowercase       ,			**__lowercase		):
										requires_backends(cls       ,			['''torch''']		)


class       a__				( metaclass=__A      ):







				"""simple docstring"""



				__UpperCamelCase    :		Optional[int]	=	['torch']




				def __init__(self       ,			*__lowercase       ,			**__lowercase		):
										requires_backends(self       ,			['''torch''']		)




				@classmethod
				def 					_snake_case  (cls       ,			*__lowercase       ,			**__lowercase		):
										requires_backends(cls       ,			['''torch''']		)




				@classmethod
				def 					_snake_case  (cls       ,			*__lowercase       ,			**__lowercase		):
										requires_backends(cls       ,			['''torch''']		)


class       a__				( metaclass=__A      ):







				"""simple docstring"""



				__UpperCamelCase    :		int	=	['torch']




				def __init__(self       ,			*__lowercase       ,			**__lowercase		):
										requires_backends(self       ,			['''torch''']		)




				@classmethod
				def 					_snake_case  (cls       ,			*__lowercase       ,			**__lowercase		):
										requires_backends(cls       ,			['''torch''']		)




				@classmethod
				def 					_snake_case  (cls       ,			*__lowercase       ,			**__lowercase		):
										requires_backends(cls       ,			['''torch''']		)


class       a__				( metaclass=__A      ):







				"""simple docstring"""



				__UpperCamelCase    :		Optional[Any]	=	['torch']




				def __init__(self       ,			*__lowercase       ,			**__lowercase		):
										requires_backends(self       ,			['''torch''']		)




				@classmethod
				def 					_snake_case  (cls       ,			*__lowercase       ,			**__lowercase		):
										requires_backends(cls       ,			['''torch''']		)




				@classmethod
				def 					_snake_case  (cls       ,			*__lowercase       ,			**__lowercase		):
										requires_backends(cls       ,			['''torch''']		)


class       a__				( metaclass=__A      ):







				"""simple docstring"""



				__UpperCamelCase    :		List[Any]	=	['torch']




				def __init__(self       ,			*__lowercase       ,			**__lowercase		):
										requires_backends(self       ,			['''torch''']		)




				@classmethod
				def 					_snake_case  (cls       ,			*__lowercase       ,			**__lowercase		):
										requires_backends(cls       ,			['''torch''']		)




				@classmethod
				def 					_snake_case  (cls       ,			*__lowercase       ,			**__lowercase		):
										requires_backends(cls       ,			['''torch''']		)


class       a__				( metaclass=__A      ):







				"""simple docstring"""



				__UpperCamelCase    :		str	=	['torch']




				def __init__(self       ,			*__lowercase       ,			**__lowercase		):
										requires_backends(self       ,			['''torch''']		)




				@classmethod
				def 					_snake_case  (cls       ,			*__lowercase       ,			**__lowercase		):
										requires_backends(cls       ,			['''torch''']		)




				@classmethod
				def 					_snake_case  (cls       ,			*__lowercase       ,			**__lowercase		):
										requires_backends(cls       ,			['''torch''']		)


class       a__				( metaclass=__A      ):







				"""simple docstring"""



				__UpperCamelCase    :		int	=	['torch']




				def __init__(self       ,			*__lowercase       ,			**__lowercase		):
										requires_backends(self       ,			['''torch''']		)




				@classmethod
				def 					_snake_case  (cls       ,			*__lowercase       ,			**__lowercase		):
										requires_backends(cls       ,			['''torch''']		)




				@classmethod
				def 					_snake_case  (cls       ,			*__lowercase       ,			**__lowercase		):
										requires_backends(cls       ,			['''torch''']		)


class       a__				( metaclass=__A      ):







				"""simple docstring"""



				__UpperCamelCase    :		Dict	=	['torch']




				def __init__(self       ,			*__lowercase       ,			**__lowercase		):
										requires_backends(self       ,			['''torch''']		)




				@classmethod
				def 					_snake_case  (cls       ,			*__lowercase       ,			**__lowercase		):
										requires_backends(cls       ,			['''torch''']		)




				@classmethod
				def 					_snake_case  (cls       ,			*__lowercase       ,			**__lowercase		):
										requires_backends(cls       ,			['''torch''']		)


class       a__				( metaclass=__A      ):







				"""simple docstring"""



				__UpperCamelCase    :		Tuple	=	['torch']




				def __init__(self       ,			*__lowercase       ,			**__lowercase		):
										requires_backends(self       ,			['''torch''']		)




				@classmethod
				def 					_snake_case  (cls       ,			*__lowercase       ,			**__lowercase		):
										requires_backends(cls       ,			['''torch''']		)




				@classmethod
				def 					_snake_case  (cls       ,			*__lowercase       ,			**__lowercase		):
										requires_backends(cls       ,			['''torch''']		)


class       a__				( metaclass=__A      ):







				"""simple docstring"""



				__UpperCamelCase    :		Dict	=	['torch']




				def __init__(self       ,			*__lowercase       ,			**__lowercase		):
										requires_backends(self       ,			['''torch''']		)




				@classmethod
				def 					_snake_case  (cls       ,			*__lowercase       ,			**__lowercase		):
										requires_backends(cls       ,			['''torch''']		)




				@classmethod
				def 					_snake_case  (cls       ,			*__lowercase       ,			**__lowercase		):
										requires_backends(cls       ,			['''torch''']		)


class       a__				( metaclass=__A      ):







				"""simple docstring"""



				__UpperCamelCase    :		int	=	['torch']




				def __init__(self       ,			*__lowercase       ,			**__lowercase		):
										requires_backends(self       ,			['''torch''']		)




				@classmethod
				def 					_snake_case  (cls       ,			*__lowercase       ,			**__lowercase		):
										requires_backends(cls       ,			['''torch''']		)




				@classmethod
				def 					_snake_case  (cls       ,			*__lowercase       ,			**__lowercase		):
										requires_backends(cls       ,			['''torch''']		)


class       a__				( metaclass=__A      ):







				"""simple docstring"""



				__UpperCamelCase    :		Optional[Any]	=	['torch']




				def __init__(self       ,			*__lowercase       ,			**__lowercase		):
										requires_backends(self       ,			['''torch''']		)




				@classmethod
				def 					_snake_case  (cls       ,			*__lowercase       ,			**__lowercase		):
										requires_backends(cls       ,			['''torch''']		)




				@classmethod
				def 					_snake_case  (cls       ,			*__lowercase       ,			**__lowercase		):
										requires_backends(cls       ,			['''torch''']		)


class       a__				( metaclass=__A      ):







				"""simple docstring"""



				__UpperCamelCase    :		Optional[Any]	=	['torch']




				def __init__(self       ,			*__lowercase       ,			**__lowercase		):
										requires_backends(self       ,			['''torch''']		)




				@classmethod
				def 					_snake_case  (cls       ,			*__lowercase       ,			**__lowercase		):
										requires_backends(cls       ,			['''torch''']		)




				@classmethod
				def 					_snake_case  (cls       ,			*__lowercase       ,			**__lowercase		):
										requires_backends(cls       ,			['''torch''']		)


class       a__				( metaclass=__A      ):







				"""simple docstring"""



				__UpperCamelCase    :		List[str]	=	['torch']




				def __init__(self       ,			*__lowercase       ,			**__lowercase		):
										requires_backends(self       ,			['''torch''']		)




				@classmethod
				def 					_snake_case  (cls       ,			*__lowercase       ,			**__lowercase		):
										requires_backends(cls       ,			['''torch''']		)




				@classmethod
				def 					_snake_case  (cls       ,			*__lowercase       ,			**__lowercase		):
										requires_backends(cls       ,			['''torch''']		)


class       a__				( metaclass=__A      ):







				"""simple docstring"""



				__UpperCamelCase    :		List[str]	=	['torch']




				def __init__(self       ,			*__lowercase       ,			**__lowercase		):
										requires_backends(self       ,			['''torch''']		)




				@classmethod
				def 					_snake_case  (cls       ,			*__lowercase       ,			**__lowercase		):
										requires_backends(cls       ,			['''torch''']		)




				@classmethod
				def 					_snake_case  (cls       ,			*__lowercase       ,			**__lowercase		):
										requires_backends(cls       ,			['''torch''']		)


class       a__				( metaclass=__A      ):







				"""simple docstring"""



				__UpperCamelCase    :		str	=	['torch']




				def __init__(self       ,			*__lowercase       ,			**__lowercase		):
										requires_backends(self       ,			['''torch''']		)




				@classmethod
				def 					_snake_case  (cls       ,			*__lowercase       ,			**__lowercase		):
										requires_backends(cls       ,			['''torch''']		)




				@classmethod
				def 					_snake_case  (cls       ,			*__lowercase       ,			**__lowercase		):
										requires_backends(cls       ,			['''torch''']		)


class       a__				( metaclass=__A      ):







				"""simple docstring"""



				__UpperCamelCase    :		Tuple	=	['torch']




				def __init__(self       ,			*__lowercase       ,			**__lowercase		):
										requires_backends(self       ,			['''torch''']		)




				@classmethod
				def 					_snake_case  (cls       ,			*__lowercase       ,			**__lowercase		):
										requires_backends(cls       ,			['''torch''']		)




				@classmethod
				def 					_snake_case  (cls       ,			*__lowercase       ,			**__lowercase		):
										requires_backends(cls       ,			['''torch''']		)


class       a__				( metaclass=__A      ):







				"""simple docstring"""



				__UpperCamelCase    :		Optional[Any]	=	['torch']




				def __init__(self       ,			*__lowercase       ,			**__lowercase		):
										requires_backends(self       ,			['''torch''']		)




				@classmethod
				def 					_snake_case  (cls       ,			*__lowercase       ,			**__lowercase		):
										requires_backends(cls       ,			['''torch''']		)




				@classmethod
				def 					_snake_case  (cls       ,			*__lowercase       ,			**__lowercase		):
										requires_backends(cls       ,			['''torch''']		)


class       a__				( metaclass=__A      ):







				"""simple docstring"""



				__UpperCamelCase    :		List[Any]	=	['torch']




				def __init__(self       ,			*__lowercase       ,			**__lowercase		):
										requires_backends(self       ,			['''torch''']		)




				@classmethod
				def 					_snake_case  (cls       ,			*__lowercase       ,			**__lowercase		):
										requires_backends(cls       ,			['''torch''']		)




				@classmethod
				def 					_snake_case  (cls       ,			*__lowercase       ,			**__lowercase		):
										requires_backends(cls       ,			['''torch''']		)


class       a__				( metaclass=__A      ):







				"""simple docstring"""



				__UpperCamelCase    :		Dict	=	['torch']




				def __init__(self       ,			*__lowercase       ,			**__lowercase		):
										requires_backends(self       ,			['''torch''']		)




				@classmethod
				def 					_snake_case  (cls       ,			*__lowercase       ,			**__lowercase		):
										requires_backends(cls       ,			['''torch''']		)




				@classmethod
				def 					_snake_case  (cls       ,			*__lowercase       ,			**__lowercase		):
										requires_backends(cls       ,			['''torch''']		)


class       a__				( metaclass=__A      ):







				"""simple docstring"""



				__UpperCamelCase    :		Any	=	['torch']




				def __init__(self       ,			*__lowercase       ,			**__lowercase		):
										requires_backends(self       ,			['''torch''']		)




				@classmethod
				def 					_snake_case  (cls       ,			*__lowercase       ,			**__lowercase		):
										requires_backends(cls       ,			['''torch''']		)




				@classmethod
				def 					_snake_case  (cls       ,			*__lowercase       ,			**__lowercase		):
										requires_backends(cls       ,			['''torch''']		)


class       a__				( metaclass=__A      ):







				"""simple docstring"""



				__UpperCamelCase    :		List[Any]	=	['torch']




				def __init__(self       ,			*__lowercase       ,			**__lowercase		):
										requires_backends(self       ,			['''torch''']		)




				@classmethod
				def 					_snake_case  (cls       ,			*__lowercase       ,			**__lowercase		):
										requires_backends(cls       ,			['''torch''']		)




				@classmethod
				def 					_snake_case  (cls       ,			*__lowercase       ,			**__lowercase		):
										requires_backends(cls       ,			['''torch''']		)


class       a__				( metaclass=__A      ):







				"""simple docstring"""



				__UpperCamelCase    :		List[str]	=	['torch']




				def __init__(self       ,			*__lowercase       ,			**__lowercase		):
										requires_backends(self       ,			['''torch''']		)




				@classmethod
				def 					_snake_case  (cls       ,			*__lowercase       ,			**__lowercase		):
										requires_backends(cls       ,			['''torch''']		)




				@classmethod
				def 					_snake_case  (cls       ,			*__lowercase       ,			**__lowercase		):
										requires_backends(cls       ,			['''torch''']		)


class       a__				( metaclass=__A      ):







				"""simple docstring"""



				__UpperCamelCase    :		int	=	['torch']




				def __init__(self       ,			*__lowercase       ,			**__lowercase		):
										requires_backends(self       ,			['''torch''']		)




				@classmethod
				def 					_snake_case  (cls       ,			*__lowercase       ,			**__lowercase		):
										requires_backends(cls       ,			['''torch''']		)




				@classmethod
				def 					_snake_case  (cls       ,			*__lowercase       ,			**__lowercase		):
										requires_backends(cls       ,			['''torch''']		)


class       a__				( metaclass=__A      ):







				"""simple docstring"""



				__UpperCamelCase    :		Dict	=	['torch']




				def __init__(self       ,			*__lowercase       ,			**__lowercase		):
										requires_backends(self       ,			['''torch''']		)




				@classmethod
				def 					_snake_case  (cls       ,			*__lowercase       ,			**__lowercase		):
										requires_backends(cls       ,			['''torch''']		)




				@classmethod
				def 					_snake_case  (cls       ,			*__lowercase       ,			**__lowercase		):
										requires_backends(cls       ,			['''torch''']		)


class       a__				( metaclass=__A      ):







				"""simple docstring"""



				__UpperCamelCase    :		List[Any]	=	['torch']




				def __init__(self       ,			*__lowercase       ,			**__lowercase		):
										requires_backends(self       ,			['''torch''']		)




				@classmethod
				def 					_snake_case  (cls       ,			*__lowercase       ,			**__lowercase		):
										requires_backends(cls       ,			['''torch''']		)




				@classmethod
				def 					_snake_case  (cls       ,			*__lowercase       ,			**__lowercase		):
										requires_backends(cls       ,			['''torch''']		)


class       a__				( metaclass=__A      ):







				"""simple docstring"""



				__UpperCamelCase    :		Dict	=	['torch']




				def __init__(self       ,			*__lowercase       ,			**__lowercase		):
										requires_backends(self       ,			['''torch''']		)




				@classmethod
				def 					_snake_case  (cls       ,			*__lowercase       ,			**__lowercase		):
										requires_backends(cls       ,			['''torch''']		)




				@classmethod
				def 					_snake_case  (cls       ,			*__lowercase       ,			**__lowercase		):
										requires_backends(cls       ,			['''torch''']		)


class       a__				( metaclass=__A      ):







				"""simple docstring"""



				__UpperCamelCase    :		Any	=	['torch']




				def __init__(self       ,			*__lowercase       ,			**__lowercase		):
										requires_backends(self       ,			['''torch''']		)




				@classmethod
				def 					_snake_case  (cls       ,			*__lowercase       ,			**__lowercase		):
										requires_backends(cls       ,			['''torch''']		)




				@classmethod
				def 					_snake_case  (cls       ,			*__lowercase       ,			**__lowercase		):
										requires_backends(cls       ,			['''torch''']		)


class       a__				( metaclass=__A      ):







				"""simple docstring"""



				__UpperCamelCase    :		List[str]	=	['torch']




				def __init__(self       ,			*__lowercase       ,			**__lowercase		):
										requires_backends(self       ,			['''torch''']		)




				@classmethod
				def 					_snake_case  (cls       ,			*__lowercase       ,			**__lowercase		):
										requires_backends(cls       ,			['''torch''']		)




				@classmethod
				def 					_snake_case  (cls       ,			*__lowercase       ,			**__lowercase		):
										requires_backends(cls       ,			['''torch''']		)


class       a__				( metaclass=__A      ):







				"""simple docstring"""



				__UpperCamelCase    :		Optional[int]	=	['torch']




				def __init__(self       ,			*__lowercase       ,			**__lowercase		):
										requires_backends(self       ,			['''torch''']		)




				@classmethod
				def 					_snake_case  (cls       ,			*__lowercase       ,			**__lowercase		):
										requires_backends(cls       ,			['''torch''']		)




				@classmethod
				def 					_snake_case  (cls       ,			*__lowercase       ,			**__lowercase		):
										requires_backends(cls       ,			['''torch''']		)


class       a__				( metaclass=__A      ):







				"""simple docstring"""



				__UpperCamelCase    :		Union[str, Any]	=	['torch']




				def __init__(self       ,			*__lowercase       ,			**__lowercase		):
										requires_backends(self       ,			['''torch''']		)




				@classmethod
				def 					_snake_case  (cls       ,			*__lowercase       ,			**__lowercase		):
										requires_backends(cls       ,			['''torch''']		)




				@classmethod
				def 					_snake_case  (cls       ,			*__lowercase       ,			**__lowercase		):
										requires_backends(cls       ,			['''torch''']		)


class       a__				( metaclass=__A      ):







				"""simple docstring"""



				__UpperCamelCase    :		Dict	=	['torch']




				def __init__(self       ,			*__lowercase       ,			**__lowercase		):
										requires_backends(self       ,			['''torch''']		)




				@classmethod
				def 					_snake_case  (cls       ,			*__lowercase       ,			**__lowercase		):
										requires_backends(cls       ,			['''torch''']		)




				@classmethod
				def 					_snake_case  (cls       ,			*__lowercase       ,			**__lowercase		):
										requires_backends(cls       ,			['''torch''']		)


class       a__				( metaclass=__A      ):







				"""simple docstring"""



				__UpperCamelCase    :		Dict	=	['torch']




				def __init__(self       ,			*__lowercase       ,			**__lowercase		):
										requires_backends(self       ,			['''torch''']		)




				@classmethod
				def 					_snake_case  (cls       ,			*__lowercase       ,			**__lowercase		):
										requires_backends(cls       ,			['''torch''']		)




				@classmethod
				def 					_snake_case  (cls       ,			*__lowercase       ,			**__lowercase		):
										requires_backends(cls       ,			['''torch''']		)

