From fb27c9a5a34469cfd93fe1974c8ea43e444a4591 Mon Sep 17 00:00:00 2001 From: tangwei12 Date: Fri, 15 Jun 2018 14:37:16 +0800 Subject: [PATCH] bug fix --- paddle/fluid/operators/detail/request_handler_impl.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/paddle/fluid/operators/detail/request_handler_impl.cc b/paddle/fluid/operators/detail/request_handler_impl.cc index ba7d027637a..41b22e2143f 100644 --- a/paddle/fluid/operators/detail/request_handler_impl.cc +++ b/paddle/fluid/operators/detail/request_handler_impl.cc @@ -124,7 +124,7 @@ bool RequestCheckpointHandler::Handle(const std::string& varname, framework::Variable* invar, framework::Variable** outvar, const std::string& out_var_name) { - executor_->RunPreparedContext(checkpoint_prepared_ctx_, scope); + executor_->RunPreparedContext(checkpoint_prepared_ctx_.get(), scope); return true; } -- GitLab