I noticed that in pytorch, people use torch.view(…) and torch.reshape(…) for reshaping the tensors.
So I am wondering what’s the main differences are between them and what’s the proper way to use them.
I tryed both but couldn’t find notable differences. so I need to know the main differences between them and how to use them properly.
New contributor
Touhidur Rahman is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.