def lesser_equal(x, y): '''Element-wise truth value of (x <= y). Returns a bool tensor. ''' return tf.less_equal(x, y)