0
我有使用tensorflow一個下面的代碼:tensorflow總結 - 寫多個圖形
g1 = tf.Graph()
g2 = tf.Graph()
with g1.as_default():
a = tf.constant(3)
b = tf.constant(4)
c = tf.add(a, b)
with g2.as_default():
x = tf.constant(5)
y = tf.constant(2)
z = tf.multiply(x, y)
writer = tf.summary.FileWriter("./graphs", g1)
writer = tf.summary.FileWriter("./graphs", g2)
writer.close()
而且在tensorboard,我得到這個:
但它缺少第一個圖表。有沒有辦法繪製兩個圖?