piiswrong commented on a change in pull request #10451: [MXNET-432] Add Foreach
URL: https://github.com/apache/incubator-mxnet/pull/10451#discussion_r182570078
##########
File path: include/mxnet/imperative.h
##########
@@ -177,18 +177,18 @@ class Imperative {
std::vector<bool>* p_save_inputs = nullptr,
std::vector<bool>* p_save_outputs = nullptr);
/*! \brief */
- OpStatePtr Invoke(const Context& default_ctx,
- const nnvm::NodeAttrs& attrs,
- const std::vector<NDArray*>& inputs,
- const std::vector<NDArray*>& outputs);
+ static OpStatePtr Invoke(const Context& default_ctx,
Review comment:
use Imperative::Get()
----------------------------------------------------------------
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:
[email protected]
With regards,
Apache Git Services