def not_equal(x, y): """Element-wise inequality between two tensors. # Returns A bool tensor. """ return tf.not_equal(x, y)