jax.lax.reduce_and#
- jax.lax.reduce_and(operand, axes)[source]#
Compute the bitwise AND of elements over one or more array axes.
- Parameters:
operand (ArrayLike) – array over which to compute the reduction. Must have boolean or integer dtype.
axes (Sequence[int]) – sequence of zero or more unique integers specifying the axes over which to reduce. Each entry must satisfy
0 <= axis < operand.ndim.
- Returns:
An array of the same dtype as
operand, with shape corresponding to the dimensions ofoperand.shapewithaxesremoved.- Return type:
See also
jax.numpy.bitwise_and.reduce(): more flexible NumPy-style logical reduction API, built aroundjax.lax.reduce_and().Other low-level
jax.laxreduction operators:jax.lax.reduce_sum(),jax.lax.reduce_prod(),jax.lax.reduce_max(),jax.lax.reduce_min(),jax.lax.reduce_or(),jax.lax.reduce_xor().