You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[Unify Tensors PR #5] framework::Tensor inherits from DenseTensor,test=allcases (PaddlePaddle#38632)
* Added shared_ptr<Allocation> member & corresponding interfaces to Storage
* Removed original pten::Allocation from Storage and adjusted the interfaces accordingly
* Fixed issues with storage offset
* Used place to malloc allocation for TensorStorage
* [Unify Tensors PR #3]Ported framework::Tensor interfaces to pten::DenseTensor
* Fixed issues with place
* Added comments
* Moved mutable_data with stream argument to DenseTensor
* Added set_offset interface
* Fixed CI issues,test=allcases
* [Unify Tensors PR #4] Port LoDTensor interfaces to DenseTensor
* Removed friend class EigenTensor/EigenMatrix/EigenVector from Tensor
* Modified framework::Tensor to inherit from DenseTensor
* Reverted changes too pten_layout() interface
* Removed friend classes
* Rearranged cfunction calls from tensor.data<void>() to tensor.data()
* Fixed CI issues
* Fixed lite issues
* Fixed data() interface issues,test=allcases
* Resolved IsInitialized() issues
* Fixed ResetHolder() issues
* Fixed MKLDNN & Storage issues
* Resolved ShareBufferWith() issues
* Fixed LoD issues
0 commit comments