Some documentation is here.
I see .view and .reshape used somewhat interchangeably and would like to understand the differences a little better.
From what I understand from the docs, .view returns the original tensor, not a copy. reshape may return a copy under some circumstances. I’m not really clear on when reshape returns a copy vs. when it does not.
So it looks like .view may be more memory-efficient. Are there any other considerations?