tensorflow tf.group
来源:互联网 发布:飞狐 指标数据输出 编辑:程序博客网 时间:2024/06/07 02:35
group(*inputs, **kwargs)
Create an op that groups multiple operations.
When this op finishes, all ops in input have finished. This op has no output.
See also tuple and with_dependencies.
Args:
*inputs: One or more tensors to group.
**kwargs: Optional parameters to pass when constructing the NodeDef.
name: A name for this operation (optional).
Returns:
Create an op that groups multiple operations.
When this op finishes, all ops in input have finished. This op has no output.
See also tuple and with_dependencies.
Args:
*inputs: One or more tensors to group.
**kwargs: Optional parameters to pass when constructing the NodeDef.
name: A name for this operation (optional).
Returns:
An Operation that executes all its inputs.
b = tf.random_uniform([2,3], minval = 10, maxval = 11)w = tf.random_uniform([2,3], minval = 10, maxval = 11)mul = tf.multiply(w, 2)add = tf.add(w, 2)group = tf.group(mul, add)print sess.run(group)
输出:None
分析:如上面的代码段所示,group可以进行多种操作
阅读全文
0 0
- tensorflow tf.group
- tensorflow API:tf.group
- tensorflow + tf.transposs
- Tensorflow:tf.train.SyncReplicasOptimizer
- Tensorflow系列:tf.random_normal
- tensorflow tf.concat操作
- 【Tensorflow】tf.placeholder函数
- 【Tensorflow】tf.reshape 函数
- 【Tensorflow】tf.argmax函数
- TensorFlow. tf.reduce_mean
- 【TensorFlow】tf.scatter_update()
- tensorflow: tf.reshape探究
- tensorflow: tf.assign探究
- tensorflow tf.tile 实例
- 【TensorFlow】tf.concat
- tensorflow: tf.add_to_collection 探究
- TensorFlow tf.nn.conv2d
- tensorflow/tf.set_random_seed()
- ListView,GridView万能适配器
- 【CQOI2015】网络吞吐量
- Python爬虫002浏览器的模拟Header属性
- 利用Defraggler整理文件夹的方法
- redis配置详解
- tensorflow tf.group
- POJ 4.6 702 Crossing River
- 如何使用Gilisoft File Lock Pro加密文件和文件夹
- SVN强制限制提交时的注释长度
- 替换空格
- 用Python的函数式编程特性解释Y Combinator(仿JavaScript版)
- HTTP协议
- springmvc对session的操作
- hdu1542(线段树求面积)