Returns the truth value of (x <= y) element-wise.
tf.math.less_equal(
x: _atypes.TensorFuzzingAnnotation[TV_LessEqual_T],
y: _atypes.TensorFuzzingAnnotation[TV_LessEqual_T],
name=None
) -> _atypes.TensorFuzzingAnnotation[_atypes.Bool]
Example:
x = tf.constant([5, 4, 6])
y = tf.constant([5])
tf.math.less_equal(x, y) ==> [True, True, False]
x = tf.constant([5, 4, 6])
y = tf.constant([5, 6, 6])
tf.math.less_equal(x, y) ==> [True, True, True]
Returns | |
---|---|
A Tensor of type bool .
|