Skip to main content
Ctrl+K

jax.lax.population_count#

jax.lax.population_count(x)[source]#

Elementwise popcount, count the number of set bits in each element.

Parameters:

x (Union[Array, ndarray, bool_, number, bool, int, float, complex]) –

Return type:

Array

previous

jax.lax.bitwise_xor

next

jax.lax.broadcast