Commit Graph

2 Commits

Author SHA1 Message Date
cyy
7663ffb673 [10/N] Fixes clang-tidy warnings in c10/util/*.h (#116326)
Still a continued work for clean up c10/util/*.h
Pull Request resolved: https://github.com/pytorch/pytorch/pull/116326
Approved by: https://github.com/Skylion007
2023-12-23 04:59:55 +00:00
Scott Wolchok
82712b7985 [PyTorch] Support ExclusivelyOwned<caffe2::Tensor> (#81964)
Since `caffe2::Tensor` also shares `TensorImpl`, we can apply `ExclusivelyOwned` to it as needed.

Differential Revision: [D38066340](https://our.internmc.facebook.com/intern/diff/D38066340/)
Pull Request resolved: https://github.com/pytorch/pytorch/pull/81964
Approved by: https://github.com/ezyang
2022-07-27 22:14:40 +00:00