import tensorflow as tf#定义计算图g = tf.Graph()with g.as_default(): hello = tf.constant('hello',name = 'hello') world = tf.constant('world',name = 'world') helloworld = tf.string_join([hello,world],name = 'join',separator=' ')#执行计算图with tf.Session(graph = g) as sess: print(sess.run(fetches = helloworld,feed_dict={}))#查看计算图with tf.summary.FileWriter('F:\lys\my_graph') as writer: writer.add_graph(g)#1,在命令行中切换到 F:\lys\my_graph#2,运行 tensorboard --logdir=my_graph#3, 打开浏览器输入地址http://localhost:60061.2.3.4.5.6.7.8.9.10.11.12.13.14.15.16.17.18.19.20.或者
writer = tf.summary.FileWriter('F:\lys\my_graph', tf.get_default_graph())writer.close()1.2.
免责声明:本文系网络转载或改编,未找到原创作者,版权归原作者所有。如涉及版权,请联系删
武汉格发信息技术有限公司,格发许可优化管理系统可以帮你评估贵公司软件许可的真实需求,再低成本合规性管理软件许可,帮助贵司提高软件投资回报率,为软件采购、使用提供科学决策依据。支持的软件有: CAD,CAE,PDM,PLM,Catia,Ugnx, AutoCAD, Pro/E, Solidworks ,Hyperworks, Protel,CAXA,OpenWorks LandMark,MATLAB,Enovia,Winchill,TeamCenter,MathCAD,Ansys, Abaqus,ls-dyna, Fluent, MSC,Bentley,License,UG,ug,catia,Dassault Systèmes,AutoDesk,Altair,autocad,PTC,SolidWorks,Ansys,Siemens PLM Software,Paradigm,Mathworks,Borland,AVEVA,ESRI,hP,Solibri,Progman,Leica,Cadence,IBM,SIMULIA,Citrix,Sybase,Schlumberger,MSC Products...