stack

stack((x, y), axis=)

x, y的shape必须相同,axis表示新增加的是第几个维度

原文地址:https://www.cnblogs.com/liujianing/p/13372839.html