Tensorboard grammar with tf.name_scope('input'): xs=tf.placeholder(tf.float32,[None,1], name='x_input') with tf.Session() as sess: write = tf.summary.FileWriter('logs/', sess.graph) CMD cd E:\python\logs Tensorboard --logdir=logs