From ee64f577d4dabcf886e30f7dd13b839d6cfc4097 Mon Sep 17 00:00:00 2001 From: tangwei12 Date: Tue, 19 Jun 2018 08:18:32 +0800 Subject: [PATCH] load op add seletedRows --- paddle/fluid/operators/load_op.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/paddle/fluid/operators/load_op.cc b/paddle/fluid/operators/load_op.cc index dd24dacf42e..e75fc4d6741 100644 --- a/paddle/fluid/operators/load_op.cc +++ b/paddle/fluid/operators/load_op.cc @@ -71,7 +71,7 @@ class LoadOp : public framework::OperatorBase { auto *tensor = var->GetMutable(); - DeserializeFromStream(fin, tensor, *dev_ctx); + DeserializeFromStream(fin, tensor, dev_ctx); auto load_as_fp16 = Attr("load_as_fp16"); auto in_dtype = framework::ToDataType(tensor->type()); -- GitLab