Join TensorFlow at Google I/O, May 11-12 Register now

tf.keras.backend.equal

TensorFlow 2 version View source on GitHub

Element-wise equality between two tensors.

x Tensor or variable.
y Tensor or variable.

A bool tensor.