jax.Array.any

Contents

jax.Array.any#

abstract Array.any(axis=None, out=None, keepdims=False, *, where=None)[source]#

Test whether any array elements along a given axis evaluate to True.

Refer to jax.numpy.any() for the full documentation.

Parameters:
  • self (Array)

  • axis (reductions.Axis)

  • out (None)

  • keepdims (bool)

  • where (ArrayLike | None)

Return type:

Array