• Z
    [Unify Tensors PR #6] Removed interfaces & members from lod_tensor,test=allcases (#38811) · 953638e0
    Zhanlue Yang 提交于
    * 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
    
    * Removed interfaces & members from lod_tensor,test=allcases
    953638e0
lod_tensor.h 6.6 KB