随笔 - 1759  文章 - 0  评论 - 109  阅读 - 430万

随笔分类 -  tensorflow

TensorFlow 调试器
摘要:https://tensorflow.juejin.im/programmers_guide/debugger.html 阅读全文
posted @ 2021-08-16 21:41 一杯明月 阅读(45) 评论(0) 推荐(0) 编辑
使用tf.print()打印tensor内容
摘要:来源:https://www.cnblogs.com/shixisheng/p/9460614.html 使用tf.Print()打印tensor内容,这是tensorflow中调试bug的一个手段,例子如下所示: import tensorflow as tf a = tf.Variable(tf 阅读全文
posted @ 2021-08-16 14:54 一杯明月 阅读(1879) 评论(0) 推荐(0) 编辑
tensorflow调试,使用官方tfdbg对tensorflow调试
摘要:2021.11.17更新: https://www.cnblogs.com/hellcat/articles/7812119.html 之前: 使用官方的tfdbg进行调试,使用的方式很简单三句话完成:第一句声明:from tensorflow.python import debug as tf_d 阅读全文
posted @ 2021-08-12 16:51 一杯明月 阅读(329) 评论(0) 推荐(0) 编辑
Tensorflow的不足之处
摘要:Tensorflow还是有不足的地方。第一体现在Tensorflow的数据机制,由于tensor只是占位符,在没有用tf.Session().run接口填充值之前是没有实际值的。 阅读全文
posted @ 2019-11-19 14:41 一杯明月 阅读(356) 评论(0) 推荐(0) 编辑
tf.tile() 用法介绍
摘要:tile() 平铺之意,用于在同一维度上的复制 tile( input, #输入 multiples, #同一维度上复制的次数 name=None )示例如下: with tf.Graph().as_default(): a = tf.constant([1,2],name='a') b = tf. 阅读全文
posted @ 2019-11-15 22:15 一杯明月 阅读(5058) 评论(0) 推荐(0) 编辑
tf.trainable_variables(),
摘要:参考:https://blog.csdn.net/cerisier/article/details/86523446 阅读全文
posted @ 2019-09-08 15:31 一杯明月 阅读(212) 评论(0) 推荐(0) 编辑
tf.Variable(),tf.get_variable(),tf.Variable_scope(),tf.name_scope()联系与区别
摘要:参考:https://zhuanlan.zhihu.com/p/37711713 阅读全文
posted @ 2019-09-05 19:49 一杯明月 阅读(187) 评论(0) 推荐(0) 编辑
TensorFlow入门
摘要:参考:https://zhuanlan.zhihu.com/p/31678573 阅读全文
posted @ 2019-09-05 13:14 一杯明月 阅读(172) 评论(0) 推荐(0) 编辑
tf.placeholder函数说明
摘要:函数形式: 参数: https://blog.csdn.net/kdongyi/article/details/82343712 阅读全文
posted @ 2019-09-04 23:20 一杯明月 阅读(4512) 评论(0) 推荐(0) 编辑
tf.logging.set_verbosity
摘要:作用:将 TensorFlow 日志信息输出到屏幕 阅读全文
posted @ 2019-08-06 14:30 一杯明月 阅读(3138) 评论(0) 推荐(0) 编辑

< 2025年3月 >
23 24 25 26 27 28 1
2 3 4 5 6 7 8
9 10 11 12 13 14 15
16 17 18 19 20 21 22
23 24 25 26 27 28 29
30 31 1 2 3 4 5

点击右上角即可分享
微信分享提示