Difference between view, reshape, transpose and permute in PyTorch

📝

内容提要

PyTorch provides a lot of methods for the Tensor type. Some of these methods may be confusing for new users. Here, I would like to talk about view() vs reshape(), transpose() vs permute().

🏷️

标签

➡️

继续阅读