"remove const qualify"

revert-3824-remove_grad_op_type
dongzhihong 8 years ago
parent 11f9f5fb17
commit 9a16327b15

@ -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,
const platform::DeviceContext& dev_ctx) const override { platform::DeviceContext& dev_ctx) const override {
for (auto& op : ops_) { for (auto& op : ops_) {
op->Run(scope, dev_ctx); op->Run(scope, dev_ctx);
} }

Loading…
Cancel
Save