




'''simple docstring'''



import warnings

from ...utils import logging
from .image_processing_deformable_detr import DeformableDetrImageProcessor


UpperCAmelCase_							:	Any	     =		logging.get_logger(__name__)





class      lowerCAmelCase (			__lowerCAmelCase):


       def __init__( self     ,	*__SCREAMING_SNAKE_CASE     ,	**__SCREAMING_SNAKE_CASE	)   ->	None:



            '''simple docstring'''




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












'''simple docstring'''



def       _UpperCamelCase			(_lowerCamelCase				:  int ,						_lowerCamelCase				:  int ,						_lowerCamelCase				:  int						)-> float:




     '''simple docstring'''





     __snake_case            =	(num_of_terms / 2) * (2 * first_term + (num_of_terms - 1) * common_diff)
     # formula for sum of series
     return total







def       _UpperCamelCase			()-> str:




     '''simple docstring'''





     print(sum_of_series(1 ,						1 ,						10						)						)


if __name__ == "__main__":
     import doctest

     doctest.testmod()






