两者没区别
根据 PyTorch 官方文档:https://pytorch.org/docs/stable/generated/torch.concat.html
在这里插入图片描述
torch.concat() 是 torch.cat() 的别称,无区别

Logo

加入「COC·上海城市开发者社区」,成就更好的自己!

更多推荐