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