未验证 提交 384a5ddf 编写于 作者: F fengjiayi 提交者: GitHub

Merge pull request #8429 from JiayiFeng/fix_remove_friend_in_lodtensor

remove 'friend lod_tensor' in tensor
......@@ -130,8 +130,6 @@ class Tensor {
inline void set_layout(const DataLayout layout) { layout_ = layout; }
private:
friend class LoDTensor;
/**
* @note Placeholder hides type T, so it doesn't appear as a template
* parameter of Variable.
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册