TensorFlow
superhahahao
这个作者很懒,什么都没留下…
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
TensorFlow学习(一)sess.run
我们都知道feed_dict的作用是给使用placeholder创建出来的tensor赋值 tf.Session.run(fetches, feed_dict=None) Runs the operations and evaluates the tensors in fetches. Args: fetches: A single graph element,翻译 2017-12-12 20:09:33 · 2906 阅读 · 0 评论 -
TensorFlow学习之 placeholder
placeholder(type,strucuct…)第一个参数是你要保存的数据的数据类型,大多数是tensorflow中的float32数据类型,后面的参数就是要保存数据的结构,比如要保存一个1×2的矩阵,则struct=[1 2]。它在使用的时候和variable不同的是在session运行阶段,需要给placeholder提供数据,利用feed_dict的字典结构给placeholdr变量“转载 2017-12-13 21:06:09 · 260 阅读 · 0 评论
分享