torch.cat() 和torch.stack(). 一句话总结,cat是将tensor拼接到同一层上,stack是将tensor层叠在一起。 torch.cat(). torch.cat ( tensors, dim=0, out=None)→ ...
確定! 回上一頁