






"""simple docstring"""






def 					_A			(__a							) ->       int:
    """simple docstring"""






    if not isinstance(__a    ,				__a							):
        raise ValueError('''Input must be an integer'''							)
    if input_num <= 0:
        raise ValueError('''Input must be positive'''							)
    return sum(
        divisor for divisor in range(1    ,				input_num // 2 + 1							) if input_num % divisor == 0							)


if __name__ == "__main__":
  import doctest

  doctest.testmod()










"""simple docstring"""






import warnings

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


UpperCAmelCase_   : Any   			= logging.get_logger(__name__)




class 							lowerCAmelCase__				(			UpperCAmelCase__ ):






      '''simple docstring'''

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




          '''simple docstring'''


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


