




def   A		(__A  :       int			)  -> int:







     """simple docstring"""


     if not isinstance(__A  ,							__A			):
          UpperCAmelCase_		=				F"""Input value of [number={number}] must be an integer"""
          raise TypeError(__A			)
     if number < 1:
          raise ValueError('''Input must be a positive integer'''			)
     return number * (2 * number - 1)


if __name__ == "__main__":
    import doctest

    doctest.testmod()












import warnings

from ...utils import logging
from .image_processing_levit import LevitImageProcessor


snake_case_					:					Dict       						=			logging.get_logger(__name__)







class __snake_case     (     a						):







   def __init__( self						:		Union[str, Any]   ,		*_snake_case						:		int   ,		**_snake_case						:		List[str]):

        """simple docstring"""


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






