mbrookhart commented on a change in pull request #12502: [NGRAPH] MXNet - 
nGraph initial integration
URL: https://github.com/apache/incubator-mxnet/pull/12502#discussion_r220987449
 
 

 ##########
 File path: src/c_api/c_api_symbolic.cc
 ##########
 @@ -75,6 +78,10 @@ int MXListAllOpNames(nn_uint *out_size,
                      const char ***out_array) {
   mxnet::op::RegisterLegacyOpProp();
   mxnet::op::RegisterLegacyNDFunc();
+#if MXNET_USE_NGRAPH == 1
+  // ngraph imperative interface
+  ngraph_bridge::InitImperative();
 
 Review comment:
   We're following the example of the Legacy ops above, this function is 
effectively doing the same thing with nGraph to support Gluon. We could rename 
it `RegisterNGraphOps` if that makes it clearer?

----------------------------------------------------------------
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

Reply via email to