



'''simple docstring'''






def 				snake_case_  (      _lowerCAmelCase						:		list[int]						)   ->     List[Any]:




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

							UpperCAmelCase				: Optional[int]											=	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()




'''simple docstring'''






import warnings

from ...utils import logging
from .image_processing_beit import BeitImageProcessor


UpperCamelCase__:     Dict										=    logging.get_logger(__name__)

class        SCREAMING_SNAKE_CASE(							A__    ):







	"""simple docstring"""






	def __init__(		self    :  Optional[Any]	,    *__snake_case    :  List[str]	,    **__snake_case    :  str	)    ->	None:
								warnings.warn(
								    '''The class BeitFeatureExtractor is deprecated and will be removed in version 5 of Transformers. Please'''
								    ''' use BeitImageProcessor instead.'''	,    __snake_case	,    )
								super().__init__(*__snake_case	,    **__snake_case	)





