提交 36d7e1fd 编写于 作者: D dongzhihong

"fix const hell"

上级 57213340
...@@ -71,7 +71,7 @@ class PlainNet : public Net { ...@@ -71,7 +71,7 @@ class PlainNet : public Net {
* will be used. * will be used.
*/ */
void Run(const std::shared_ptr<Scope>& scope, void Run(const std::shared_ptr<Scope>& scope,
platform::DeviceContext& dev_ctx) const override { const platform::DeviceContext& dev_ctx) const override {
for (auto& op : ops_) { for (auto& op : ops_) {
op->Run(scope, dev_ctx); op->Run(scope, dev_ctx);
} }
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册