tf.keras.backend.prod

View source on GitHub

Multiplies the values in a tensor, alongside the specified axis.

tf.keras.backend.prod(
    x, axis=None, keepdims=False
)

Arguments:

Returns:

A tensor with the product of elements of x.