



"""simple docstring"""






import warnings

from ...utils import logging
from .image_processing_segformer import SegformerImageProcessor


lowerCAmelCase__ :    int      =    logging.get_logger(__name__)






class 	__snake_case	(     _lowercase):




  def __init__(			self					:						List[str]						, *__lowerCAmelCase					:						Dict						, **__lowerCAmelCase					:						int		):






         """simple docstring"""






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







"""simple docstring"""






from maths.prime_factors import prime_factors






def 	snake_case_  (				A_ :		int						):


       '''simple docstring'''





       if not isinstance(A_,    A_						):
              _lowerCamelCase						:    str         =			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 -1 if len(prime_factors(A_						)						) % 2 else 1


if __name__ == "__main__":
   import doctest

   doctest.testmod()


