diff --git a/paddle/framework/selected_rows.h b/paddle/framework/selected_rows.h index 2bd6b160bcb793fad6fe07fefa3d9cb0ff85c0f1..417904ea84ac625476a3021a93050098221a792a 100644 --- a/paddle/framework/selected_rows.h +++ b/paddle/framework/selected_rows.h @@ -22,7 +22,7 @@ class SelectedRows { value_.reset(new Tensor()); } - SelectedRows() {} + SelectedRows() { value_.reset(new Tensor()); } platform::Place place() const { return value_->place(); }