larroy commented on a change in pull request #14836: Refactor AGInfo and 
Imperative
URL: https://github.com/apache/incubator-mxnet/pull/14836#discussion_r305059218
 
 

 ##########
 File path: src/imperative/imperative.cc
 ##########
 @@ -232,16 +237,13 @@ void Imperative::RecordOp(
     node->inputs.resize(inputs.size());
   }
 
-  std::vector<bool>& save_inputs = *p_save_inputs;
 
 Review comment:
   I don't think is consistent with requiring the use of pointers for output 
arguments, if you then change it to a reference there's no point on passing 
pointers in the first place. Please take that into consideration.

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


With regards,
Apache Git Services

Reply via email to