提交 ed5dc3d4 编写于 作者: F fengjiayi

remove 'friend lod_tensor in tensor'

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