samskalicky commented on a change in pull request #17569: Adding sparse support
to MXTensor for custom operators
URL: https://github.com/apache/incubator-mxnet/pull/17569#discussion_r392022581
##########
File path: src/c_api/c_api.cc
##########
@@ -162,6 +195,24 @@ void CustomFComputeDispatcher(const std::string op_name,
return workspace.dptr_;
};
+ // create lambda that allocates memory for sparse and updates MXSparse.
Review comment:
can we change the comment to:
// create lambda that allocates memory for sparse and returns allocated
arrays for data, indices and indptr
----------------------------------------------------------------
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