Skip to content
This repository has been archived by the owner on Nov 17, 2023. It is now read-only.

Commit

Permalink
Small fix
Browse files Browse the repository at this point in the history
  • Loading branch information
DominikaJedynak committed Nov 23, 2021
1 parent af06344 commit 1041fed
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/operator/subgraph/dnnl/dnnl_post_quantize_property.h
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ class SgDNNLPostQuantizeSelector : public SubgraphSelectorV2 {
if (n.outputs.size() > 1) {
// check if requantize have other outputs than dequantize
// if it has we can't fuse dequantize
for (const auto kv : n.outputs) {
for (const auto& kv : n.outputs) {
const auto& node = kv.first;
if (node->op() != Op::Get("_contrib_dequantize")) {
status = SelectStatus::kSuccess;
Expand Down

0 comments on commit 1041fed

Please sign in to comment.