x = torch.zeros(5, 3, dtype=torch.long) print(x) ... torch.unsqueeze() # 類似dstack,只是是在第二個維度進行拼接 torch.vstack() # 對tensor 中 ...
確定! 回上一頁