tf.keras.ops.greater

Return the truth value of x1 > x2 element-wise.

Main aliases

tf.keras.ops.numpy.greater

x1 First input tensor.
x2 Second input tensor.

Output tensor, element-wise comparison of x1 and x2.