未验证 提交 21e2c42a 编写于 作者: X Xin Pan 提交者: GitHub

Merge pull request #9141 from panyx0718/develop

Fix a program copy regression.
...@@ -44,7 +44,7 @@ struct ExecutorPrepareContext { ...@@ -44,7 +44,7 @@ struct ExecutorPrepareContext {
ExecutorPrepareContext(const framework::ProgramDesc& prog, size_t block_id) ExecutorPrepareContext(const framework::ProgramDesc& prog, size_t block_id)
: prog_(prog), block_id_(block_id) {} : prog_(prog), block_id_(block_id) {}
framework::ProgramDesc prog_; const framework::ProgramDesc& prog_;
size_t block_id_; size_t block_id_;
std::vector<std::unique_ptr<OperatorBase>> ops_; std::vector<std::unique_ptr<OperatorBase>> ops_;
}; };
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册