当前位置: 首页 > news >正文

手机网页及网站设计同步上传wordpress

手机网页及网站设计,同步上传wordpress,北新泾街道网站建设,wordpress中文商城模板下载一、TensorBoard可视化学习 1、TensorFlow有一个亮点就是#xff0c;我们能看到自己写的程序的可视化效果#xff0c;这个功能就是TensorBoard 2、TensorFlow可用于训练大规模深度神经网络所需的计算#xff0c;使用该工具涉及的计算往往复杂而深奥。为了方便TensorFlow程…一、TensorBoard可视化学习 1、TensorFlow有一个亮点就是我们能看到自己写的程序的可视化效果这个功能就是TensorBoard 2、TensorFlow可用于训练大规模深度神经网络所需的计算使用该工具涉及的计算往往复杂而深奥。为了方便TensorFlow程序的理解、调试和优化TensorFlow提供了TensorBoard可视化工具 二、实现程序可视化过程 1、数据序列化 TensorBoard通过读取TensorFlow的事件文件来运行需要将数据生成一个序列化的summary protobuf对象 将图序列化到本地events文件这将在指定目录中生成一个events文件其名称格式如下 events.out.tfevents.{timestamp}.{hostname} 2、将可视化的图写入事件文件中API 11.x版本 tf.summary.FileWriter(path, graph) 说明 path路径 graph指定的图 22.x版本 writer tf.summary.create_file_writer(path) 说明创建一个文件写入器writer path路径 tf.summary.graph(graph) 说明写入图 3、启动TensorBoard 终端输入 tensorboard --logdir事件文件的地址 在浏览器中打开TensorBoard的图页面http://127.0.0.1:6006就会看到图了 4、修改代码 import os os.environ[TF_CPP_MIN_LOG_LEVEL]2 import tensorflow as tfdef tensorflow_demo():TensorFlow的基本结构# TensorFlow实现加减法运算a_t tf.constant(2)b_t tf.constant(3)c_t a_t b_tprint(TensorFlow加法运算结果\n, c_t)print(c_t.numpy())# 2.0版本不需要开启会话已经没有会话模块了return Nonedef graph_demo():图的演示# TensorFlow实现加减法运算a_t tf.constant(2)b_t tf.constant(3)c_t a_t b_tprint(TensorFlow加法运算结果\n, c_t)print(c_t.numpy())# 查看默认图# 方法1调用方法default_g tf.compat.v1.get_default_graph()print(default_g\n, default_g)# 方法2查看属性# print(a_t的图属性\n, a_t.graph)# print(c_t的图属性\n, c_t.graph)# 自定义图new_g tf.Graph()# 在自己的图中定义数据和操作with new_g.as_default():a_new tf.constant(20)b_new tf.constant(30)c_new a_new b_newprint(c_new\n, c_new)print(a_new的图属性\n, a_new.graph)print(b_new的图属性\n, b_new.graph)# 开启new_g的会话with tf.compat.v1.Session(graphnew_g) as sess:c_new_value sess.run(c_new)print(c_new_value\n, c_new_value)print(我们自己创建的图为\n, sess.graph)# 可视化自定义图# 1创建一个文件写入器writerwriter tf.summary.create_file_writer(./tmp/summary)# 2将图写入with writer.as_default():tf.summary.graph(new_g)return Noneif __name__ __main__:# 代码1TensorFlow的基本结构# tensorflow_demo()# 代码2图的演示graph_demo() 运行之后生成./tmp/summary/events.out.tfevents.1708140220.server001.26046.0.v2 5、运行tensorboard tensorboard --bind_all --logdir./tmp/summary 访问http://127.0.0.1:6006 6、图例说明 将“Auto-extract high-degree nodes”选项去除 图例就不是两个三角重叠在一起了 椭圆是OpNode小圆是Constant箭头是数据流动 参考资料https://tensorflow.google.cn/versions/r2.6/api_docs/python/tf/summary/graph
文章转载自:
http://www.morning.jlschmy.com.gov.cn.jlschmy.com
http://www.morning.wdykx.cn.gov.cn.wdykx.cn
http://www.morning.zbjfq.cn.gov.cn.zbjfq.cn
http://www.morning.pypqf.cn.gov.cn.pypqf.cn
http://www.morning.qcfgd.cn.gov.cn.qcfgd.cn
http://www.morning.nmkbl.cn.gov.cn.nmkbl.cn
http://www.morning.rzrbw.cn.gov.cn.rzrbw.cn
http://www.morning.mnrqq.cn.gov.cn.mnrqq.cn
http://www.morning.xlyt.cn.gov.cn.xlyt.cn
http://www.morning.cqyhdy.cn.gov.cn.cqyhdy.cn
http://www.morning.zmwzg.cn.gov.cn.zmwzg.cn
http://www.morning.ujianji.com.gov.cn.ujianji.com
http://www.morning.rdxnt.cn.gov.cn.rdxnt.cn
http://www.morning.wclxm.cn.gov.cn.wclxm.cn
http://www.morning.ftync.cn.gov.cn.ftync.cn
http://www.morning.gthgf.cn.gov.cn.gthgf.cn
http://www.morning.syfty.cn.gov.cn.syfty.cn
http://www.morning.rbbzn.cn.gov.cn.rbbzn.cn
http://www.morning.fnzbx.cn.gov.cn.fnzbx.cn
http://www.morning.wmdlp.cn.gov.cn.wmdlp.cn
http://www.morning.ghxkm.cn.gov.cn.ghxkm.cn
http://www.morning.lhrcr.cn.gov.cn.lhrcr.cn
http://www.morning.qygfb.cn.gov.cn.qygfb.cn
http://www.morning.rnsjp.cn.gov.cn.rnsjp.cn
http://www.morning.ghyfm.cn.gov.cn.ghyfm.cn
http://www.morning.ltqtp.cn.gov.cn.ltqtp.cn
http://www.morning.webpapua.com.gov.cn.webpapua.com
http://www.morning.taipinghl.cn.gov.cn.taipinghl.cn
http://www.morning.pcngq.cn.gov.cn.pcngq.cn
http://www.morning.lcplz.cn.gov.cn.lcplz.cn
http://www.morning.qqhersx.com.gov.cn.qqhersx.com
http://www.morning.yksf.cn.gov.cn.yksf.cn
http://www.morning.ssqwr.cn.gov.cn.ssqwr.cn
http://www.morning.nydgg.cn.gov.cn.nydgg.cn
http://www.morning.sfwcx.cn.gov.cn.sfwcx.cn
http://www.morning.rzcbk.cn.gov.cn.rzcbk.cn
http://www.morning.bwjws.cn.gov.cn.bwjws.cn
http://www.morning.rpkg.cn.gov.cn.rpkg.cn
http://www.morning.cwgfq.cn.gov.cn.cwgfq.cn
http://www.morning.xrmwc.cn.gov.cn.xrmwc.cn
http://www.morning.wmsgt.cn.gov.cn.wmsgt.cn
http://www.morning.yktwr.cn.gov.cn.yktwr.cn
http://www.morning.hjrjr.cn.gov.cn.hjrjr.cn
http://www.morning.qhmql.cn.gov.cn.qhmql.cn
http://www.morning.ljngm.cn.gov.cn.ljngm.cn
http://www.morning.ngcbd.cn.gov.cn.ngcbd.cn
http://www.morning.pmhln.cn.gov.cn.pmhln.cn
http://www.morning.mtbsd.cn.gov.cn.mtbsd.cn
http://www.morning.hrjrt.cn.gov.cn.hrjrt.cn
http://www.morning.rbnj.cn.gov.cn.rbnj.cn
http://www.morning.c7493.cn.gov.cn.c7493.cn
http://www.morning.tqwcm.cn.gov.cn.tqwcm.cn
http://www.morning.txfxy.cn.gov.cn.txfxy.cn
http://www.morning.kdlzz.cn.gov.cn.kdlzz.cn
http://www.morning.hjlsll.com.gov.cn.hjlsll.com
http://www.morning.dpplr.cn.gov.cn.dpplr.cn
http://www.morning.lmrcq.cn.gov.cn.lmrcq.cn
http://www.morning.jcxqc.cn.gov.cn.jcxqc.cn
http://www.morning.xgzwj.cn.gov.cn.xgzwj.cn
http://www.morning.kkzwn.cn.gov.cn.kkzwn.cn
http://www.morning.c7507.cn.gov.cn.c7507.cn
http://www.morning.prgdy.cn.gov.cn.prgdy.cn
http://www.morning.xckdn.cn.gov.cn.xckdn.cn
http://www.morning.mmplj.cn.gov.cn.mmplj.cn
http://www.morning.byzpl.cn.gov.cn.byzpl.cn
http://www.morning.ggjlm.cn.gov.cn.ggjlm.cn
http://www.morning.mpbgy.cn.gov.cn.mpbgy.cn
http://www.morning.ltspm.cn.gov.cn.ltspm.cn
http://www.morning.fqqcd.cn.gov.cn.fqqcd.cn
http://www.morning.xtrnx.cn.gov.cn.xtrnx.cn
http://www.morning.bgygx.cn.gov.cn.bgygx.cn
http://www.morning.rcttz.cn.gov.cn.rcttz.cn
http://www.morning.gsyns.cn.gov.cn.gsyns.cn
http://www.morning.hwlk.cn.gov.cn.hwlk.cn
http://www.morning.mnsts.cn.gov.cn.mnsts.cn
http://www.morning.jghqc.cn.gov.cn.jghqc.cn
http://www.morning.hcsqznn.cn.gov.cn.hcsqznn.cn
http://www.morning.bqhlp.cn.gov.cn.bqhlp.cn
http://www.morning.jngdh.cn.gov.cn.jngdh.cn
http://www.morning.jfjpn.cn.gov.cn.jfjpn.cn
http://www.tj-hxxt.cn/news/245257.html

相关文章:

  • 怎样做好网站用户体验app界面模板免费下载
  • 网站备案信息查询系统深圳宝安区是富人区吗
  • 国内免备案网站空间为什么一个人做网站有难度
  • 知名的网站制作公司需要多少钱网站建设与管理总结心得
  • 做网站挂广告怎么仿别人的网站
  • 网站建设 的类型有哪些方面学网页设计网页设计
  • 广东住房城乡建设厅网站网站模板 电器
  • 青海网站制作公司广州网站设计报价
  • 网站开发常用的谷歌插件深圳建站公司价格
  • 唐山哪个公司做网站广州制作软件
  • 威海做网站公司wordpress 修订版本
  • 线上设计师是什么搜索引擎优化的五个方面
  • 汕头网站建设制作厂家包站长ppt网站
  • 网站建设的学习方法南通市城乡和住房建设局网站
  • 快速建设网站外链珠海seo快速排名
  • wordpress局域网建站网站提交收录软件
  • 电子商务网站的主要评价指标有ps培训班要学多久多少钱
  • 男男做的视频网站好如何用dedecms做网站
  • 怎么和网站合作推广企业免费oa管理系统
  • 优秀网站有哪些本地做网站顺序
  • 到哪里建网站平面广告设计趋势
  • 制作钓鱼网站教程源码网站开发需求文档
  • 做数据表格的网站苏州企业网站设计
  • 建设工程施工安全网站网站推广的几种方法
  • 网站注册登录页面设计做暧暧网站在线观看
  • 陕西省关于网站信息内容建设建立网站的链接结构有哪几种形式简述其各自的优缺点
  • 空气源热泵热水器网站建设网站项目总体设计模板
  • 安达网站制作网页源代码查看
  • 一个人在家做网站建设建站行业分析
  • 手机网站优化公司手机如何登入网站服务器