Returns the truth value of (a != b) element-wise. Supports broadcasting.
const a = tf.tensor1d([1, 2, 3]);const b = tf.tensor1d([0, 2, 3]);a.notEqual(b).print(); Copy
const a = tf.tensor1d([1, 2, 3]);const b = tf.tensor1d([0, 2, 3]);a.notEqual(b).print();
The first input tensor.
The second input tensor. Must have the same dtype as a.
a
Generated using TypeDoc
Returns the truth value of (a != b) element-wise. Supports broadcasting.