Skip to content

Commit 384a5dd

Browse files
authored
Merge pull request #8429 from JiayiFeng/fix_remove_friend_in_lodtensor
remove 'friend lod_tensor' in tensor
2 parents cde6241 + ed5dc3d commit 384a5dd

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

paddle/fluid/framework/tensor.h

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -130,8 +130,6 @@ class Tensor {
130130
inline void set_layout(const DataLayout layout) { layout_ = layout; }
131131

132132
private:
133-
friend class LoDTensor;
134-
135133
/**
136134
* @note Placeholder hides type T, so it doesn't appear as a template
137135
* parameter of Variable.

0 commit comments

Comments
 (0)