leezu commented on a change in pull request #17530: Add deferred compute support
URL: https://github.com/apache/incubator-mxnet/pull/17530#discussion_r379849366
 
 

 ##########
 File path: src/c_api/c_api_ndarray.cc
 ##########
 @@ -428,3 +436,41 @@ int MXCachedOpRegisterOpHook(NDArrayHandle handle,
   op->RegisterOpHook(clbk, monitor_all);
   API_END();
 }
+
+int MXNDArrayIsDeferredComputeEnabled(int *curr) {
 
 Review comment:
   `MX` prefix is required for symbol visibility. `NDArray` as this is part of 
the `NDArray` related functions.
   For consistency with autograd APIs, let's remove the `Enabled` part indeed.

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