is there anything wrong with this code, cause this is generating an output folder with tf file inside, but when I am trying to run it on tensorboard its showing- No Graph definition file found.
import tensorflow as tf
a = tf.add(1, 2,)
b = tf.multiply(a, 3)
c = tf.add(4, 5,)
d = tf.multiply(c, 6,)
e = tf.multiply(4, 5,)
f = tf.div(c, 6,)
g = tf.add(b, d)
h = tf.multiply(g, f)
with tf.Session() as sess:
writer = tf.summary.FileWriter("output", sess.graph)
print(sess.run(h))
writer.close()
output
directory in the same directory where you are running that script./output
tensorboard —logdir=./output
from the same directory