Returns the truth value of (x > y) element-wise.
tf.math.greater(
x: _atypes.TensorFuzzingAnnotation[TV_Greater_T],
y: _atypes.TensorFuzzingAnnotation[TV_Greater_T],
name=None
) -> _atypes.TensorFuzzingAnnotation[_atypes.Bool]
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 .
|