You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mxnet.apache.org by GitBox <gi...@apache.org> on 2017/12/08 19:21:12 UTC

[GitHub] piiswrong commented on a change in pull request #9002: Misc performance changes

piiswrong commented on a change in pull request #9002: Misc performance changes
URL: https://github.com/apache/incubator-mxnet/pull/9002#discussion_r155854440
 
 

 ##########
 File path: src/imperative/imperative_utils.h
 ##########
 @@ -453,7 +453,7 @@ inline void PushOperator(const OpStatePtr& state,
         << "for stateful operator " << op->name;
     CHECK(exec_type == ExecType::kSync || exec_type == ExecType::kAsync);
     Engine::Get()->PushSync(
-      [state, fcompute, inputs, outputs, requested, is_train, exec_type, mutate_idx, req](
+      [&state, fcompute, &inputs, &outputs, &requested, is_train, exec_type, &mutate_idx, &req](
 
 Review comment:
   I don't think you can do this.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services