import tensorflow as tf
a=[1,2,4]
b=[2,1,4]
sess=tf.Session()
with sess.as_default():
print(tf.greater(a,b).eval())
[False True False]
import tensorflow as tf
a=[1,2,4]
b=[2,1,4]
sess=tf.Session()
with sess.as_default():
print(tf.greater(a,b).eval())
[False True False]