import tensorflow as tf
a = tf.constant(2)
b = tf.constant(3)
x = tf.add(a,b)

# add this line to tensorboard


with tf.Session() as sess:
    writer = tf.summary.FileWriter("./graphs",sess.graph)
    print(sess.run(x))
