pytorch
e8297549 - [PyTorch] Inline Tensor keyset-checking methods & similar getters (#54806)

Commit
3 years ago
[PyTorch] Inline Tensor keyset-checking methods & similar getters (#54806) Summary: Pull Request resolved: https://github.com/pytorch/pytorch/pull/54806 These are all very small key set checks (or similar getters like `dtype()`, and we clearly want them to be inlinable -- we've even made them non-virtual for perf in TensorImpl and said so in comments. Don't make LTO work to figure that out. ghstack-source-id: 125060650 Test Plan: CI Reviewed By: ezyang Differential Revision: D27375016 fbshipit-source-id: 5c3dbfa38fa493c8f7e0ac4e5acd3598d5896558
Author
Parents
Loading