guanxinq 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_r392526646
##########
File path: src/c_api/c_api.cc
##########
@@ -341,6 +412,8 @@ int MXLoadLib(const char *path) {
<< "' custom op, Forward or CreateOpState function
was not set.";
CHECK(type_fp != nullptr) << "Error loading '" << name
<< "' custom op, InferType function was not set.";
+ CHECK(stype_fp != nullptr) << "Error loading '" << name
+ << "' custom op, InferSType function was not set.";
Review comment:
Based on my understanding, infer storage type is as important as infer data
type.
----------------------------------------------------------------
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