In [2]:
import tensorflow as tf

In [3]:
hello = tf.constant('Hello, TensorFlow!')

In [4]:
sess = tf.Session()

In [5]:
print(sess.run(hello))


b'Hello, TensorFlow!'

In [6]:
a = tf.constant(10)
b = tf.constant(32)
print(sess.run(a + b))


42

In [ ]: