jax.Array.any

目录

jax.Array.any#

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

测试沿给定轴的任何数组元素是否评估为 True。

有关完整文档,请参阅 jax.numpy.any()

参数:
  • self (Array)

  • axis (reductions.Axis)

  • out (None)

  • keepdims (bool)

  • where (ArrayLike | None)

返回类型:

Array