tf.keras.ops.cumprod

Return the cumulative product of elements along a given axis.

x Input tensor.
axis Axis along which the cumulative product is computed. By default the input is flattened.
dtype dtype of returned tensor. Defaults to x.dtype.

Output tensor.