remove 'friend lod_tensor in tensor'

emailweixu-patch-1
fengjiayi 7 years ago
parent cde6241a1b
commit ed5dc3d4ae

@ -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.

Loading…
Cancel
Save