jax.Array.prod#

abstract Array.prod(axis=None, dtype=None, out=None, keepdims=False, initial=None, where=None, promote_integers=True)[源代码]#

返回给定轴上数组元素的乘积。

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

参数
  • self (Array)

  • axis (reductions.Axis)

  • dtype (DTypeLike | None)

  • out (None)

  • keepdims (bool)

  • initial (ArrayLike | None)

  • where (ArrayLike | None)

  • promote_integers (bool)

返回类型

Array