Saves a copy of vector<Tensor> in view ops returning TensorList. (#49149)
Summary: Pull Request resolved: https://github.com/pytorch/pytorch/pull/49149
Test Plan: Imported from OSS
Reviewed By: pbelevich
Differential Revision: D25480104
Pulled By: ailzhang
fbshipit-source-id: 749345164662b15ec56b7b85a64011929e90c0b2