

def 					a				(      A__     :       int					)   ->				int:





      """simple docstring"""



      if not isinstance(A__				,       A__					):
            _lowercase     	=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_vit import ViTImageProcessor


lowercase_     =       logging.get_logger(__name__)





class 			__lowerCAmelCase					( SCREAMING_SNAKE_CASE							):




  def __init__(    self							,       *lowerCAmelCase							,       **lowerCAmelCase )  ->			None:
        '''simple docstring'''






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


