tf.keras.ops.not_equal

Return (x1 != x2) element-wise.

Main aliases

tf.keras.ops.numpy.not_equal

x1 First input tensor.
x2 Second input tensor.

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