less_equal

dragon.vm.tensorflow.math.less_equal(
  x,
  y,
  name=None
)[source]

Compute the element-wise less-equal comparison.

\[\text{out} = (\text{input1} <= \text{input2}) \]

Examples:

x = tf.constant(2)
y = tf.constant(3)
z = tf.constant(3)
print(tf.math.less_equal(x, y))
print(tf.math.less_equal(y, z))
Parameters:
Returns:

dragon.Tensor The output tensor.