In [11]:
import tensorflow as tf

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

In [13]:
#Session to fetch the value of c
with tf.Session() as sess:
    writer = tf.summary.FileWriter('./graphs', sess.graph)
    sess.run(c)
                                   
writer.close()

In [ ]: