Returns the truth value of (x > y) element-wise.
tf.raw_ops.Greater(
x, y, name=None
)
Example:
x = tf.constant([5, 4, 6])
y = tf.constant([5, 2, 5])
tf.math.greater(x, y) ==> [False, True, True]
x = tf.constant([5, 4, 6])
y = tf.constant([5])
tf.math.greater(x, y) ==> [False, False, True]
Returns | |
---|---|
A Tensor of type bool .
|