

import warnings

from ...utils import logging
from .image_processing_flava import FlavaImageProcessor


__A			:					str						=			logging.get_logger(__name__)





class 			_SCREAMING_SNAKE_CASE (   __snake_case		):







   '''simple docstring'''




   def __init__(       self					:			List[str]     , *__lowerCamelCase					:			Optional[Any]     , **__lowerCamelCase					:			List[Any]			):
       warnings.warn(
           "The class FlavaFeatureExtractor is deprecated and will be removed in version 5 of Transformers. Please"
           " use FlavaImageProcessor instead."     , __lowerCamelCase     , )
       super().__init__(*__lowerCamelCase     , **__lowerCamelCase			)


def 	__a     (      A__			:  int       ):
    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()