
def 						UpperCAmelCase      (     a_						)		->     int:







				"""simple docstring"""



				if a < 0:
								raise ValueError("Input value must be a positive integer"						)
				elif isinstance(a_		,       a_						):
								raise TypeError("Input value must be a 'int' type"						)
				return bin(a_						).count("1"						)


if __name__ == "__main__":
					import doctest

					doctest.testmod()


import warnings

from ...utils import logging
from .image_processing_clip import CLIPImageProcessor


SCREAMING_SNAKE_CASE							:Any										=    logging.get_logger(__name__)





class 							UpperCAmelCase				(  __SCREAMING_SNAKE_CASE  ):




	'''simple docstring'''





	def __init__(	self :			int							,*A :			Dict							,**A :			Dict			):
					warnings.warn(
					    "The class CLIPFeatureExtractor is deprecated and will be removed in version 5 of Transformers. Please"
					    " use CLIPImageProcessor instead."							,A							,)
					super().__init__(*A							,**A			)
