aesara.tensor.cumprod

Contents

aesara.tensor.cumprod#

aesara.tensor.cumprod(x, axis=None)[source]#

Return the cumulative product of the elements along a given axis.

This wraps numpy.cumprod.

Parameters:
  • x – Input tensor variable.

  • axis – The axis along which the cumulative product is computed. The default (None) is to compute the cumprod over the flattened array.

New in version 0.7.