tf.keras.backend.not_equal

Element-wise inequality between two tensors.

x Tensor or variable.
y Tensor or variable.

A bool tensor.