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.