學習pytorch中的一些筆記(2) 一、torch.expand(*sizes) torch.expand()用來擴展 ... import torch x = torch.tensor([[1, 2, 3]]) print(x.size()) y ...
確定! 回上一頁