TensorFlow 2.0 Beta is available Learn more

tf.keras.backend.cumprod

Cumulative product of the values in a tensor, alongside the specified axis.

Aliases:

  • tf.compat.v1.keras.backend.cumprod
  • tf.compat.v2.keras.backend.cumprod
  • tf.keras.backend.cumprod
tf.keras.backend.cumprod(
    x,
    axis=0
)
View source on GitHub

Arguments:

  • x: A tensor or variable.
  • axis: An integer, the axis to compute the product.

Returns:

A tensor of the cumulative product of values of x along axis.