pytorch
d0e4ca23 - some reference and move fixes (#95942)

Commit
2 years ago
some reference and move fixes (#95942) This PR introduces some modifications: 1. We find out some const function parameters that can be passed by reference and add the reference. 2. We find more opportunists of passing by value and change them accordingly. 3. Some use-after-move errors are fixed. Pull Request resolved: https://github.com/pytorch/pytorch/pull/95942 Approved by: https://github.com/Skylion007
Author
Committer
Parents
Loading