
'''simple docstring'''






import warnings

from ...utils import logging
from .image_processing_dpt import DPTImageProcessor


A			      =      logging.get_logger(__name__)




class     a_		(   a__):
					def __init__(     self,    *A,    **A      ):

									"""simple docstring"""


									warnings.warn(
									    'The class DPTFeatureExtractor is deprecated and will be removed in version 5 of Transformers. Please'
									    ' use DPTImageProcessor instead.',    A,    )
									super().__init__(*A,    **A      )


'''simple docstring'''






def    UpperCAmelCase							(  UpperCAmelCase__							:							list[int]):
				if not nums:  # Makes sure that the list is not empty
								raise ValueError('List is empty')

				lowerCamelCase					:			int									= sum(UpperCAmelCase__) / len(UpperCAmelCase__)  # Calculate the average
				return sum(abs(x - average) for x in nums) / len(UpperCAmelCase__)


if __name__ == "__main__":
					import doctest

					doctest.testmod()
