tensorflow 菜鸟日记

如果有一列tensor,我想横向复制,怎么办?

a = np.array([[1], [2], [3]])
b = np.tile(a, [1, 3])
原文地址:https://www.cnblogs.com/theodoric008/p/8194188.html