<br />

|---|
| [![](https://www.tensorflow.org/images/GitHub-Mark-32px.png) View source on GitHub](https://github.com/keras-team/keras/tree/v3.15.1/keras/src/legacy/backend.py#L2111-L2114) |

DEPRECATED.

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