These are sample code.
import tensorflow as tf const1 = tf.constant(2) const2 = tf.constant(3) add_op = tf.add(const1,const2) mul_op = tf.mul(add_op,const2) with tf.Session() as sess: result,result2 = sess.run([mul_op,add_op]) print(result) print(result2) tf.train.SummaryWriter('./',sess.graph) it shows message like this,
Tensor("Add:0", shape=(), dtype=int32) However no file generated.