not_equal¶
- dragon.vm.tensorflow.math.- not_equal(
 x,
 y,
 name=None
 )[source]¶
- Compute the element-wise not-equal comparison. \[\text{out} = (\text{input1} != \text{input2}) \]- Examples: - x = tf.constant(2) y = tf.constant(3) z = tf.constant(3) print(tf.math.not_equal(x, y)) print(tf.math.not_equal(y, z)) - Parameters:
- x (dragon.Tensor) – The input1 tensor.
- y (dragon.Tensor) – The input2 tensor.
- name (str, optional) – The operation name.
 
 - Returns:
- dragon.Tensor – The output tensor. 
 
