在numpy中,我们 ndarray.reshape() 用于重塑数组. 我注意到在pytorch中,人们使用 torch.view(...) 同样的目的,但同时也 torch.reshape(...) 存在.
確定! 回上一頁