jax.Array.cumsum

Contents

jax.Array.cumsum#

abstract Array.cumsum(axis=None, dtype=None, out=None)[source]#

Return the cumulative sum of the array.

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

Parameters:
  • self (Array)

  • axis (reductions.Axis)

  • dtype (DTypeLike | None)

  • out (None)

Return type:

Array