Returns the truth value of (x < y) element-wise.
tfp.experimental.distributions.marginal_fns.ps.less(
x: Annotated[Any, TV_Less_T], y: Annotated[Any, TV_Less_T], name=None
) -> Annotated[Any, _atypes.Bool]
Example:
x = tf.constant([5, 4, 6])
y = tf.constant([5])
tf.math.less(x, y) ==> [False, True, False]
x = tf.constant([5, 4, 6])
y = tf.constant([5, 6, 7])
tf.math.less(x, y) ==> [False, True, True]
Returns | |
---|---|
A Tensor of type bool .
|