Missed TensorFlow World? Check out the recap. Learn more

tf.keras.backend.greater

View source on GitHub

Element-wise truth value of (x > y).

Aliases:

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

Arguments:

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

Returns:

A bool tensor.