bartekkuncer commented on a change in pull request #20393:
URL: https://github.com/apache/incubator-mxnet/pull/20393#discussion_r659695008
##########
File path: src/operator/subgraph/mkldnn/mkldnn_fc_property.h
##########
@@ -113,13 +113,17 @@ class SgMKLDNNFCSelector : public SubgraphSelector {
}
}
if (!quantized_ && (new_node.op() == Op::Get("square") ||
+ new_node.op() == Op::Get("_npi_square") ||
new_node.op() == Op::Get("sqrt") ||
- new_node.op() == Op::Get("exp"))) {
+ new_node.op() == Op::Get("_npi_sqrt") ||
+ new_node.op() == Op::Get("exp") ||
+ new_node.op() == Op::Get("_npi_exp"))) {
matched_list_.push_back(&new_node);
status_ = kSuccess;
return true;
}
- if (new_node.op() == Op::Get("abs")) {
+ if (new_node.op() == Op::Get("abs") ||
+ new_node.op() == Op::Get("_npi_absolute")) {
Review comment:
Yes, I was thinking about something similar to this. That was just a
suggestion so if you do not like it, feel free to ignore it :)
--
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.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]