pytorch
ee0143bf - distinguish mutability of TensorImpl::data<T>() (#98719)

Commit
1 year ago
distinguish mutability of TensorImpl::data<T>() (#98719) There already is a mutable_data<T>() with different semantics, so we introduce new names: TensorImpl::(mutable_)?data_dtype_initialized<T>(). Differential Revision: [D44824778](https://our.internmc.facebook.com/intern/diff/D44824778/) Pull Request resolved: https://github.com/pytorch/pytorch/pull/98719 Approved by: https://github.com/ezyang
Author
mikey dagitses
Committer
Parents
Loading