tf.keras.backend.sum

View source on GitHub

Sum of the values in a tensor, alongside the specified axis.

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

Arguments:

Returns:

A tensor with sum of x.