



import warnings

from ...utils import logging
from .image_processing_imagegpt import ImageGPTImageProcessor


lowercase__			   =  logging.get_logger(__name__)




class SCREAMING_SNAKE_CASE__					(		__snake_case      ):



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





													'''simple docstring'''

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






"""simple docstring"""

def       __magic_name__    (   _lowerCamelCase				: list[int]					):
							if not nums:  # Makes sure that the list is not empty
														raise ValueError("""List is empty"""					)

							__a		:		Any									=       sum(_lowerCamelCase					) / len(_lowerCamelCase					)  # Calculate the average
							return sum(abs(x - average					) for x in nums					) / len(_lowerCamelCase					)


if __name__ == "__main__":
	import doctest

	doctest.testmod()

