pytorch
765062c0 - [PyTorch] Devirtualize TensorImpl::storage_offset (#51048)

Commit
3 years ago
[PyTorch] Devirtualize TensorImpl::storage_offset (#51048) Summary: Pull Request resolved: https://github.com/pytorch/pytorch/pull/51048 There doesn't seem to be any reason to prohibit accessing the always-zero storage_offset of those TensorImpls that prohibit set_storage_offset. ghstack-source-id: 120714379 Test Plan: CI Reviewed By: ezyang Differential Revision: D26008499 fbshipit-source-id: cd92ac0afdebbd5cf8f04df141843635113b6444
Author
Parents
Loading