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_r392026937
##########
File path: include/mxnet/lib_api.h
##########
@@ -214,6 +214,18 @@ enum MXDType {
kUNSET = 100,
};
+/*
+ * MXTensor storage type.
+ */
+enum MXStorageType {
+ // dense
Review comment:
can we add a "kUnknownStorage = -1" entry too? and get rid of the "-1" magic
numbers everywhere?
----------------------------------------------------------------
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