From add9ed3388d0082fcf26615a0408536d6932cecf Mon Sep 17 00:00:00 2001 From: qiaolongfei Date: Tue, 29 May 2018 21:52:34 +0800 Subject: [PATCH] change order of member --- paddle/fluid/framework/selected_rows.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/paddle/fluid/framework/selected_rows.cc b/paddle/fluid/framework/selected_rows.cc index c9d2388aa43..21fd05aff02 100644 --- a/paddle/fluid/framework/selected_rows.cc +++ b/paddle/fluid/framework/selected_rows.cc @@ -34,8 +34,8 @@ struct ReAllocateVisitor { tensor_->ShareDataWith(cpu_tensor); } - framework::Tensor* tensor_; framework::DDim dims_; + framework::Tensor* tensor_; }; struct TensorCopyVisitor { -- GitLab