Skip to content

Commit ed5dc3d

Browse files
committed
remove 'friend lod_tensor in tensor'
1 parent cde6241 commit ed5dc3d

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)