


'''simple docstring'''


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


if __name__ == "__main__":
     import doctest

     doctest.testmod()




'''simple docstring'''


from ..utils import DummyObject, requires_backends



class 	__lowerCAmelCase		(							metaclass=__SCREAMING_SNAKE_CASE    ):


  '''simple docstring'''







  a_  					=							["""torch""", """torchsde"""]






  def __init__(							self :       Any	,*_a :       Union[str, Any]	,**_a :       Optional[int] ):

        '''simple docstring'''




        requires_backends(self	,["""torch""", """torchsde"""] )






  @classmethod
  def        _a							(							cls :       Optional[int]	,*_a :       List[Any]	,**_a :       Any ):

        '''simple docstring'''




        requires_backends(cls	,["""torch""", """torchsde"""] )






  @classmethod
  def        _a							(							cls :       List[Any]	,*_a :       Tuple	,**_a :       Union[str, Any] ):

        '''simple docstring'''




        requires_backends(cls	,["""torch""", """torchsde"""] )
