


def 			UpperCamelCase (     __magic_name__					:							list[int]					)       ->  float:
		"""simple docstring"""




		if not nums:  # Makes sure that the list is not empty
				raise ValueError("""List is empty"""					)

		lowercase__					      =		sum(__magic_name__					) / len(__magic_name__					)  # Calculate the average
		return sum(abs(x - average					) for x in nums					) / len(__magic_name__					)


if __name__ == "__main__":
		import doctest

		doctest.testmod()





import warnings

from ...utils import logging
from .image_processing_clip import CLIPImageProcessor


A	:		List[Any]    =       logging.get_logger(__name__)



class 							A   (	UpperCAmelCase__							):
					'''simple docstring'''






					def __init__(self   :						List[Any]				, *_UpperCAmelCase   :						int				, **_UpperCAmelCase   :						List[str]		)						->       None:




							"""simple docstring"""


							warnings.warn(
							    """The class CLIPFeatureExtractor is deprecated and will be removed in version 5 of Transformers. Please"""
							    """ use CLIPImageProcessor instead."""				, _UpperCAmelCase				, )
							super().__init__(*_UpperCAmelCase				, **_UpperCAmelCase		)

