tf.keras.ops.equal

Returns (x1 == x2) element-wise.

Main aliases

tf.keras.ops.numpy.equal

x1 Tensor to compare.
x2 Tensor to compare.

Output tensor, element-wise comparison of x1 and x2.