提交 f224948f 编写于 作者: T tangwei12

bug fix

上级 98c30c7c
......@@ -300,8 +300,10 @@ void ListenAndServOp::RunImpl(const framework::Scope &scope,
}
int checkpoint_point_block_id = Attr<int>(kCheckpointBlockId);
auto *ctx = new ExecutorPrepareContext(*program, checkpoint_point_block_id);
std::shared_ptr<framework::ExecutorPrepareContext> ckpt_pre_context =
executor.Prepare(*program, checkpoint_point_block_id);
std::shared_ptr<ExecutorPrepareContext>(ctx);
auto f =
std::bind(FillRequestCtx, std::placeholders::_1, &recv_scope, &dev_ctx,
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册