"fix const hell"

revert-3824-remove_grad_op_type
dongzhihong 8 years ago
parent 572133400d
commit 36d7e1fdae

@ -71,7 +71,7 @@ class PlainNet : public Net {
* will be used.
*/
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_) {
op->Run(scope, dev_ctx);
}

Loading…
Cancel
Save