





_A :   int  			=  frozenset(
    [
        'prompt',
        'height',
        'width',
        'guidance_scale',
        'negative_prompt',
        'prompt_embeds',
        'negative_prompt_embeds',
        'cross_attention_kwargs',
    ]
)

_A :   List[Any]  			=  frozenset(['prompt', 'negative_prompt'])

_A :   List[Any]  			=  frozenset([])

_A :   Union[str, Any]  			=  frozenset(['image'])

_A :   Optional[int]  			=  frozenset(
    [
        'image',
        'height',
        'width',
        'guidance_scale',
    ]
)

_A :   Optional[Any]  			=  frozenset(['image'])

_A :   str  			=  frozenset(
    [
        'prompt',
        'image',
        'height',
        'width',
        'guidance_scale',
        'negative_prompt',
        'prompt_embeds',
        'negative_prompt_embeds',
    ]
)

_A :   Optional[Any]  			=  frozenset(['prompt', 'image', 'negative_prompt'])

_A :   Optional[Any]  			=  frozenset(
    [
        # Text guided image variation with an image mask
        'prompt',
        'image',
        'mask_image',
        'height',
        'width',
        'guidance_scale',
        'negative_prompt',
        'prompt_embeds',
        'negative_prompt_embeds',
    ]
)

_A :   Dict  			=  frozenset(['prompt', 'image', 'mask_image', 'negative_prompt'])

_A :   Tuple  			=  frozenset(
    [
        # image variation with an image mask
        'image',
        'mask_image',
        'height',
        'width',
        'guidance_scale',
    ]
)

_A :   Union[str, Any]  			=  frozenset(['image', 'mask_image'])

_A :   Any  			=  frozenset(
    [
        'example_image',
        'image',
        'mask_image',
        'height',
        'width',
        'guidance_scale',
    ]
)

_A :   List[str]  			=  frozenset(['example_image', 'image', 'mask_image'])

_A :   List[str]  			=  frozenset(['class_labels'])

_A :   int  			=  frozenset(['class_labels'])

_A :   List[str]  			=  frozenset(['batch_size'])

_A :   Any  			=  frozenset([])

_A :   List[Any]  			=  frozenset(['batch_size'])

_A :   Optional[int]  			=  frozenset([])

_A :   Optional[int]  			=  frozenset(
    [
        'prompt',
        'audio_length_in_s',
        'guidance_scale',
        'negative_prompt',
        'prompt_embeds',
        'negative_prompt_embeds',
        'cross_attention_kwargs',
    ]
)

_A :   Optional[int]  			=  frozenset(['prompt', 'negative_prompt'])
_A :   Dict  			=  frozenset(['input_tokens'])

_A :   str  			=  frozenset(['input_tokens'])










def 	_a						(   UpperCAmelCase					)    ->    int:







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

   lowerCamelCase__       :						List[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()



