tensorflow API: tf.concat
来源:互联网 发布:大观园网络电视 编辑:程序博客网 时间:2024/06/11 19:00
tf.concatconcat( values, axis, name='concat')
通过给定维度连接张量
例子:
t1 = [[1, 2, 3], [4, 5, 6]]t2 = [[7, 8, 9], [10, 11, 12]]tf.concat([t1, t2], 0) # [[1, 2, 3], [4, 5, 6], [7, 8, 9], [10, 11, 12]]tf.concat([t1, t2], 1) # [[1, 2, 3, 7, 8, 9], [4, 5, 6, 10, 11, 12]]
tensor t3 with shape [2, 3]
tensor t4 with shape [2, 3]
tf.shape(tf.concat([t3, t4], 0)) # [4, 3]tf.shape(tf.concat([t3, t4], 1)) # [2, 6]
阅读全文
0 0
- tensorflow API: tf.concat
- Tensorflow API 学习(1)-tf.concat()
- tensorflow tf.concat操作
- 【TensorFlow】tf.concat
- 【Tensorflow】tf.concat函数
- 【TensorFlow】tf.concat的用法
- tensorflow错误记录:tf.concat
- tensorflow错误记录:tf.concat
- tensorflow 中tf.concat()用法
- tensorflow错误记录:tf.concat
- 【TensorFlow】tf.concat的用法
- tf.concat (API r1.3)
- TensorFlow 介绍 tf.concat 的使用方法
- tensorflow API:tf.truncated_normal
- tensorflow API:tf.set_random_seed
- tensorflow API:tf.split
- tensorflow API:tf.tile
- tensorflow API:tf.slice
- 理解spring父子容器
- RPN 区域推荐网络
- leetcode 670. Maximum Swap
- String、StringBuffer、StringBuilder区别
- 显示调用动态链接库
- tensorflow API: tf.concat
- 首届“奥威杯”大数据创新应用大赛圆满举行!
- K近邻算法
- springMVC系列之(四) spring+springMVC+hibernate 三大框架整合
- Hbuider快捷键
- Week 5算法分析作业
- python计算分位数
- WeakHashMap的作用 , Talk is cheap, Show you the code.
- 前端学记之html5-2