



'''simple docstring'''






import warnings

from ...utils import logging
from .image_processing_mobilenet_va import MobileNetVaImageProcessor


A_				:					Union[str, Any]							=      logging.get_logger(__name__)



class 				lowercase			(    _lowerCamelCase							):


 """simple docstring"""


 def __init__(				self    ,*a_    ,**a_				)						->  None:
        warnings.warn(
            """The class MobileNetV1FeatureExtractor is deprecated and will be removed in version 5 of Transformers."""
            """ Please use MobileNetV1ImageProcessor instead."""    ,a_    ,)
        super().__init__(*a_    ,**a_				)







def       lowerCAmelCase			(		lowerCAmelCase_			)->			int:
				lowerCAmelCase_			:   Optional[int]     					=					len(lowerCAmelCase_			)
				if n in (0, 1):
								return 0
				return sum(query * (n - i - 1) for i, query in enumerate(sorted(lowerCAmelCase_			)			)			)


if __name__ == "__main__":
						import doctest

						doctest.testmod()