view /reshape 改變形狀; Squeeze/unsqueeze 增加維度/删减維度 ... 在numpy 中使用reshape 對tensor 的形狀進行改變,而在pytorch 我們可以用view ...
確定! 回上一頁