tf.keras.backend.not_equal

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
tf.keras.backend.not_equal(
    x,
    y
)

Defined in python/keras/backend.py.

Arguments:

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

Returns:

A bool tensor.