TensorFlow 2.0 Beta is available Learn more

tf.keras.backend.not_equal

TensorFlow 2.0 version View source on GitHub

Element-wise inequality between two tensors.

Aliases:

  • tf.compat.v1.keras.backend.not_equal
  • tf.compat.v2.keras.backend.not_equal
tf.keras.backend.not_equal(
    x,
    y
)

Arguments:

  • x: Tensor or variable.
  • y: Tensor or variable.

Returns:

A bool tensor.