pytorch/torch/csrc/api
olegfaust ac3f23deb0 Fixed usage of std::move function (#46199)
Summary:
Removed std::move in situations when move wasn't really possible (therefore std::move didn't move anything but created copy instead).

Pull Request resolved: https://github.com/pytorch/pytorch/pull/46199

Reviewed By: bdhirsh

Differential Revision: D24287408

Pulled By: glaringlee

fbshipit-source-id: f88b9500e7bbaa709bff62b845966e2adc7fa588
2020-10-13 19:13:30 -07:00
..
include/torch Fixed usage of std::move function (#46199) 2020-10-13 19:13:30 -07:00
src [c++] Distance-agnostic triplet margin loss (#45377) 2020-09-30 12:37:35 -07:00