标签:flow constant logs oar bsp import nbsp style close
1.启动tensorboard
tensorboard --logdir="./logs" --port 6006
2.显示graph
import tensorflow as tf a=tf.constant(2) b=tf.constant(3) x=tf.add(a,b) sess = tf.Session() writer=tf.summary.FileWriter(‘./logs‘,sess.graph) writer.close()
3.
标签:flow constant logs oar bsp import nbsp style close
原文地址:http://www.cnblogs.com/huangshiyu13/p/7562990.html