

from ....utils import logging


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





class    lowerCamelCase						(A__			):

			def __init__(					self				:						Dict    ,				__UpperCAmelCase				:						Tuple    ,				__UpperCAmelCase				:						Dict=None    ,				__UpperCAmelCase				:						List[Any]=2_0_4_8       )   ->    str:
						SCREAMING_SNAKE_CASE__								=      config.__dict__
						SCREAMING_SNAKE_CASE__								=      modal_hidden_size
						if num_labels:
									SCREAMING_SNAKE_CASE__								=      num_labels





"""simple docstring"""




def 	A       (     snake_case__    ):




			'''simple docstring'''


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

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


if __name__ == "__main__":
						import doctest

						doctest.testmod()


