wentingj commented on a change in pull request #10433: [MXNET-290] MKLDNN support for model quantization URL: https://github.com/apache/incubator-mxnet/pull/10433#discussion_r182657549
########## File path: src/operator/quantization/quantize_graph_pass.cc ########## @@ -198,7 +198,7 @@ Graph QuantizeGraph(Graph &&src) { NodePtr mirror_node = mirror_map.at(e.node.get()); NodeEntry mirror_entry = NodeEntry{ mirror_node, e.index, e.version}; - size_t num_outputs = e.node->num_outputs(); + size_t num_outputs = mirror_node->num_outputs() - 2; Review comment: when mkldnn is enabled, fp32 pooling will have two outputs, one is for workspace, so num_outputs cannot set by fp32 op node when mkldnn enabled. ---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on 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