bartekkuncer commented on a change in pull request #20606:
URL: https://github.com/apache/incubator-mxnet/pull/20606#discussion_r724250058
##########
File path: src/operator/subgraph/dnnl/dnnl_fc_post_quantize_property.h
##########
@@ -146,22 +145,22 @@ class SgMKLDNNFCPostQuantizeSelector : public
SubgraphSelectorV2 {
void Reset() override {
CHECK_GE(matched_list.size(), 1);
- auto new_selector = SgMKLDNNFCPostQuantizeSelector(disable_all,
disable_float_output);
+ auto new_selector = SgDNNLFCPostQuantizeSelector(disable_all,
disable_float_output);
new_selector.Select(*matched_list[0]);
*this = new_selector;
}
};
-class SgMKLDNNFCPostQuantizeProperty : public SubgraphProperty {
+class SgDNNLFCPostQuantizeProperty : public SubgraphProperty {
public:
- SgMKLDNNFCPostQuantizeProperty() {
+ SgDNNLFCPostQuantizeProperty() {
disable_fuse_all = dmlc::GetEnv("MXNET_DISABLE_ONEDNN_QFC_FUSE_ALL",
false);
disable_float_output =
dmlc::GetEnv("MXNET_DISABLE_ONEDNN_QFC_FLOAT_OUTPUT", false);
}
static SubgraphPropertyPtr Create() {
- static const std::string& name = "MKLDNN FullyConected post-quantization
optimization pass";
- auto property =
std::make_shared<SgMKLDNNFCPostQuantizeProperty>();
+ static const std::string& name = "DNNL FullyConected post-quantization
optimization pass";
Review comment:
done
--
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]