jax.Array.prod

目录

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