第48个方法torch.vstack(tensors, *, out=None) → Tensor此方法就是按垂直方向堆叠,可与torch.hstack()进行对比查看,torch.hstack就是按水平方向堆叠张量。
確定! 回上一頁