




import warnings

from ...utils import logging
from .image_processing_perceiver import PerceiverImageProcessor


SCREAMING_SNAKE_CASE__       :      Dict  =   logging.get_logger(__name__)




class 		UpperCamelCase__	(lowerCAmelCase__     ):

    '''simple docstring'''



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










def 				UpperCamelCase_(      lowerCamelCase_							, lowerCamelCase_							, lowerCamelCase_ )    ->						float:
    _lowercase       :							Tuple      		=		(num_of_terms / 2) * (2 * first_term + (num_of_terms - 1) * common_diff)
    # formula for sum of series
    return total



def 				UpperCamelCase_(      )    ->						Optional[int]:
    print(sum_of_series(1							, 1							, 10 ) )


if __name__ == "__main__":
 import doctest

 doctest.testmod()


