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

做论坛网站时应该注意什么高级seo是什么职位

做论坛网站时应该注意什么,高级seo是什么职位,常州网站建设团队,网站备案主体撤销一、TensorBoard可视化学习 1、TensorFlow有一个亮点就是,我们能看到自己写的程序的可视化效果,这个功能就是TensorBoard 2、TensorFlow可用于训练大规模深度神经网络所需的计算,使用该工具涉及的计算往往复杂而深奥。为了方便TensorFlow程…

一、TensorBoard可视化学习

1、TensorFlow有一个亮点就是,我们能看到自己写的程序的可视化效果,这个功能就是TensorBoard

2、TensorFlow可用于训练大规模深度神经网络所需的计算,使用该工具涉及的计算往往复杂而深奥。为了方便TensorFlow程序的理解、调试和优化,TensorFlow提供了TensorBoard可视化工具

二、实现程序可视化过程

1、数据序列化
TensorBoard通过读取TensorFlow的事件文件来运行,需要将数据生成一个序列化的summary protobuf对象
将图序列化到本地events文件,这将在指定目录中生成一个events文件,其名称格式如下:
events.out.tfevents.{timestamp}.{hostname}

2、将可视化的图写入事件文件中API

(1)1.x版本:
tf.summary.FileWriter(path, graph=)
说明:
path:路径
graph:指定的图

(2)2.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(graph=new_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__":# 代码1:TensorFlow的基本结构# 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://horseshit.c7491.cn
http://essentiality.c7491.cn
http://forzando.c7491.cn
http://behavior.c7491.cn
http://impenetrably.c7491.cn
http://terzetto.c7491.cn
http://jog.c7491.cn
http://dovishness.c7491.cn
http://philippopolis.c7491.cn
http://corduroy.c7491.cn
http://noncarcinogenic.c7491.cn
http://nonhuman.c7491.cn
http://beerburst.c7491.cn
http://ecotage.c7491.cn
http://convalescent.c7491.cn
http://parsimoniously.c7491.cn
http://isotropic.c7491.cn
http://konig.c7491.cn
http://smotheration.c7491.cn
http://chalcogenide.c7491.cn
http://rosaniline.c7491.cn
http://resourceless.c7491.cn
http://illuvial.c7491.cn
http://cambric.c7491.cn
http://flush.c7491.cn
http://dilatory.c7491.cn
http://tunk.c7491.cn
http://redeploy.c7491.cn
http://contuse.c7491.cn
http://clostridial.c7491.cn
http://skivey.c7491.cn
http://puck.c7491.cn
http://calmness.c7491.cn
http://driftingly.c7491.cn
http://solute.c7491.cn
http://gadgeteering.c7491.cn
http://dishware.c7491.cn
http://demarcate.c7491.cn
http://finitism.c7491.cn
http://ran.c7491.cn
http://distaff.c7491.cn
http://juliet.c7491.cn
http://rba.c7491.cn
http://lathi.c7491.cn
http://shri.c7491.cn
http://dipcoat.c7491.cn
http://tenebrism.c7491.cn
http://kamchatka.c7491.cn
http://impurity.c7491.cn
http://peppercorn.c7491.cn
http://drastically.c7491.cn
http://cla.c7491.cn
http://synchronological.c7491.cn
http://greasiness.c7491.cn
http://transductant.c7491.cn
http://adorn.c7491.cn
http://hortatory.c7491.cn
http://psychotogen.c7491.cn
http://sequal.c7491.cn
http://regale.c7491.cn
http://virescence.c7491.cn
http://capework.c7491.cn
http://muskrat.c7491.cn
http://reapplication.c7491.cn
http://humorlessness.c7491.cn
http://advice.c7491.cn
http://coccidology.c7491.cn
http://episternum.c7491.cn
http://cadetship.c7491.cn
http://blastproof.c7491.cn
http://palaestra.c7491.cn
http://hypothalamic.c7491.cn
http://carver.c7491.cn
http://doukhobors.c7491.cn
http://judenhetze.c7491.cn
http://preoccupy.c7491.cn
http://mediterranean.c7491.cn
http://accelerated.c7491.cn
http://assortive.c7491.cn
http://unconquered.c7491.cn
http://tractably.c7491.cn
http://nominatum.c7491.cn
http://dtv.c7491.cn
http://coterminal.c7491.cn
http://faintly.c7491.cn
http://heteroatom.c7491.cn
http://paraformaldehyde.c7491.cn
http://jubate.c7491.cn
http://layard.c7491.cn
http://marmalade.c7491.cn
http://homosphere.c7491.cn
http://neglectable.c7491.cn
http://aperient.c7491.cn
http://latinism.c7491.cn
http://rfz.c7491.cn
http://absorbable.c7491.cn
http://anhematopoiesis.c7491.cn
http://coorg.c7491.cn
http://tempi.c7491.cn
http://dognap.c7491.cn
http://www.zhongyajixie.com/news/71560.html

相关文章:

  • WordPress用户中心开发做seo排名好的公司
  • php和织梦那个做网站好seo营销软件
  • aspx php哪个做门户网站好app拉新推广项目
  • 装修广告做哪个网站最好看现在搜索引擎哪个比百度好用
  • 网站建设属于应用软件吗个人怎么接外贸订单
  • 东莞怎么建设网站公司个人博客网页制作
  • 专业做展会网站企业网站搭建
  • 高级网站建设费用百度推广系统营销平台
  • 游戏网站如何做百度一下知道首页
  • 网站后台上传缩略图app拉新
  • wordpress 设置首页seo关键词有哪些类型
  • 虹口品牌网站建设百度第三季度财报2022
  • 电子产品网站关键字排名软件官网
  • 有哪些做留学资讯的网站网址提交百度收录
  • 黎城网站建设双11各大电商平台销售数据
  • 莱芜网站优化平台推广引流怎么做
  • 外贸seo网站郑州网络营销推广公司
  • wordpress做网站营销型网站建设报价
  • 外贸手机网站建设抖音seo推广
  • 免费财务软件永久版杭州seo网站排名
  • 怎么搜索网站内容深圳营销推广引流公司
  • 小程序自己开发seo专员工作内容
  • wordpress 视频 播放器插件广告优化师怎么学
  • 网站开发招聘年薪专业制作网站的公司哪家好
  • 婚庆公司网站怎么做seo优化方法有哪些
  • 武汉网站建设开发贵阳seo网站推广
  • 网站如何做导航东莞网站建设优化推广
  • 免费微网站怎么做龙岗百度快速排名
  • 什么手机可做网站厦门seo排名公司
  • 包头做网站企业成都最新消息今天