📜  concat 张量 pytorch - Python 代码示例

📅  最后修改于: 2022-03-11 14:46:11.425000             🧑  作者: Mango

代码示例1
x = torch.randn(2, 3)
y = torch.randn(2, 3)
# concat x and y
result = torch.cat((x, y), 0)