mseth10 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_r394225210
########## File path: include/mxnet/lib_api.h ########## @@ -393,13 +453,22 @@ class OpResource { return static_cast<mx_stream_t>(cuda_stream); } + void alloc_sparse(MXSparse* sparse, int index, int indices_len, int indptr_len = 0) { Review comment: can you add a comment to describe what this function does? ---------------------------------------------------------------- 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: us...@infra.apache.org With regards, Apache Git Services