



"""simple docstring"""
import warnings

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


_lowerCAmelCase    :Tuple     =					logging.get_logger(__name__)
class 							_UpperCAmelCase							( a      ):





     '''simple docstring'''



     def __init__(					self       ,	*A       ,	**A		)							->					None:
         warnings.warn(
             '''The class FlavaFeatureExtractor is deprecated and will be removed in version 5 of Transformers. Please'''
             ''' use FlavaImageProcessor instead.'''       ,	A       ,	)
         super().__init__(*A       ,	**A		)







"""simple docstring"""
def  lowerCamelCase_						(UpperCamelCase__		:		int							):
    if not isinstance(UpperCamelCase__     ,       UpperCamelCase__							) or number < 0:
        raise ValueError('''Input must be a non-negative integer'''							)

    _UpperCAmelCase							:  str											=    0
    while number:
        # This way we arrive at next set bit (next 1) instead of looping
        # through each bit and checking for 1s hence the
        # loop won't run 32 times it will only run the number of `1` times
        number &= number - 1
        count += 1
    return count


if __name__ == "__main__":
  import doctest

  doctest.testmod()


