cumprod(x, axis=0, exclusive=False, f=None)¶
Returns the cumulative product of the elements along a given axis.
x (array) – Input array.
axis (int) – Axis along which the cumulative product is computed. By default 0.
exclusive (bool, optional) – Whether to perform the cumprod exclusively. Defaults is False.
f (ml_framework, optional) – Machine learning framework. Inferred from inputs if None.
Input array with cumulatively multiplied elements along axis.