In [1]:
import tensorflow as tf

In [2]:
a=tf.constant(2)
b=tf.constant(3)
c=tf.add(a,b)

In [3]:
a


Out[3]:
<tf.Tensor 'Const:0' shape=() dtype=int32>

In [5]:
c


Out[5]:
<tf.Tensor 'Add_1:0' shape=() dtype=int32>

In [6]:
with tf.Session() as session:
    result=session.run(c)
    print(result)


5