https://www.tensorflow.org/versions/r0.12/api_docs/python/array_ops.html#concat

例子:

t1 = [[1, 2, 3], [4, 5, 6]]
t2 = [[7, 8, 9], [10, 11, 12]]
tf.concat(0, [t1, t2]) ==> [[1, 2, 3], [4, 5, 6], [7, 8, 9], [10, 11, 12]]
tf.concat(1, [t1, t2]) ==> [[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(0, [t3, t4])) ==> [4, 3]
tf.shape(tf.concat(1, [t3, t4])) ==> [2, 6]

最新文章

  1. windows 7下qtcreator里QWT文件的pro配置
  2. 已解决:Ubuntu php gettext 无效
  3. 论坛类应用双Tableview翻页效果实现
  4. vim对erlang语法支持
  5. 利用QT制作我们自己的一个计算器
  6. codeforces Codeforces 650A Watchmen
  7. WinXP 无线提示“区域中找不到无线网络”的一种可能原因!
  8. BNUOJ flower (搜索)
  9. MVC 发布到 windows2003遇到 'System.Web.WebPages.Razor 错误提示
  10. 学生问的一道javascript面试题[来自腾讯]
  11. exit()与_exit()的区别(转)
  12. idea找不到package下的mapper.xml文件
  13. C++ 日期时间使用
  14. 5、CentOS 6.5系统安装配置Nginx-1.2.7+PHP-5.3.22环境
  15. 学习笔记之The Intelligent Investor, Rev. Ed
  16. Docker中Spring boot+VueJS+MongoDB的前后端分离哲学摔跤
  17. C语言 · 和最大子序列
  18. vue-cli3.0配置接口代理
  19. 8-2 Building for UN Uva1605
  20. 【知了堂学习笔记】java 编写几种常见排序算法3

热门文章

  1. SVN:This client is too old to work with working copy…解决方法
  2. win64 QT(VS2013) 配置 CGAL+libQGLViewer
  3. Android自己定义之流式布局
  4. Latex插入项目列表符号
  5. ubuntu安装Skype 4.3
  6. LNMP架构二
  7. python-嵌套循环(Nested loop)-久久乘法表
  8. MySQL怎样存储IP地址
  9. HDU 5303 Delicious Apples(思维题)
  10. Application Architecture Determines Application Performance