Tensorflow基本操作
Tensorflow基本操作
恋蛩音
职场小白,努力成长!
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
Tensorflow基础(一)之常量和运行的举例
目录函数注解from __future__ import print_functionos.path.dirname(path)os.path.abspath(__file__)tf.constant ()tf.Session()tf.summary.FileWriter()os.path.expanduser(path)sess.run()sess.clo...原创 2019-07-28 20:12:11 · 271 阅读 · 0 评论 -
Tensorflow基础(二)之变量的使用
目录代码注解tf.random_normal()tf.Variable()ops.get_collection(ops.GraphKeys.GLOBAL_VARIABLES)tf.variables_initializer为什么变量一定要初始化?完整代码代码注解tf.random_normal()用于从服从指定正太分布的数值中取出指定个数的值。t...原创 2019-07-28 20:39:45 · 475 阅读 · 0 评论
分享