In [1]:
import tensorflow as tf

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

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

In [4]:
sess.run(hello)


Out[4]:
b'Hello, TensorFlow!'

In [5]:
a = tf.constant(10)
b = tf.constant(32)

In [6]:
sess.run(a+b)


Out[6]:
42