<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#L834-L837) |

DEPRECATED.

    tf.keras.backend.equal(
        x, y
    )

### Used in the notebooks

| Used in the tutorials |
|---|
| - [Quantum Convolutional Neural Network](https://www.tensorflow.org/quantum/tutorials/qcnn) |