



import warnings

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


UpperCamelCase__ =						logging.get_logger(__name__)
class 			_lowerCAmelCase   ( _UpperCAmelCase			):






   """simple docstring"""





   def __init__(				self	:       List[Any]			,     *lowercase	:       Any			,     **lowercase	:       Any   )						->					None:
         """simple docstring"""







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










def  UpperCAmelCase__    (    lowercase__						,       lowercase__						,       lowercase__   ) ->      float:
						__lowercase					=				(num_of_terms / 2) * (2 * first_term + (num_of_terms - 1) * common_diff)
						# formula for sum of series
						return total






def  UpperCAmelCase__    (    ) ->      List[str]:
						print(sum_of_series(1						,       1						,       10   )   )


if __name__ == "__main__":
			import doctest

			doctest.testmod()





