![](https://img-blog.csdnimg.cn/20201014180756919.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
tensorflow
jiyandong66
这个作者很懒,什么都没留下…
展开
-
tensorflow tf.variable_scope tf.name_scope
tensorflow tf.variable_scope tf.name_scope tf.variable_scope可以让变量有相同的命名,包括tf.get_variable得到的变量,还有tf.Variable的变量 tf.name_scope可以让变量有相同的命名,只是限于tf.Variable的变量 代码示例: tf.variable_scope import tensorflow as...转载 2019-11-09 09:03:01 · 81 阅读 · 0 评论 -
tensorflow tf.placeholder
tensorflow tf.placeholder函数形式参数为什么要用placeholder?代码示例: 函数形式 tf.placeholder( dtype, shape=None, name=None ) 参数 dtype:数据类型。常用的是tf.float32,tf.float64等数值类型 shape:数据形状。默认是None,就是一维值,也可以是多维(比如[...转载 2019-11-09 08:56:14 · 103 阅读 · 0 评论