Skip to content

Commit

Permalink
comment out more for tidy
Browse files Browse the repository at this point in the history
  • Loading branch information
CharlieL7 committed Jul 11, 2024
1 parent 56bd330 commit 280a304
Showing 1 changed file with 7 additions and 6 deletions.
13 changes: 7 additions & 6 deletions src/simplify_qdq.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -317,12 +317,13 @@ bool compare_literals(instruction_ref ins1, instruction_ref ins2)
return (x == y) or diff_shapes_equal_vals;
}

template <class Iterator>
bool precedes(Iterator x, Iterator y, Iterator last)
{
auto r = range(std::next(x), last);
return any_of(iterator_for(r), [&](auto it) { return it == y; });
}
// TODO: disabled for 6.2 release due to accuracy bug for quantized resnet50
// template <class Iterator>
// bool precedes(Iterator x, Iterator y, Iterator last)
//{
// auto r = range(std::next(x), last);
// return any_of(iterator_for(r), [&](auto it) { return it == y; });
//}

// TODO: disabled for 6.2 release due to accuracy bug for quantized resnet50
// struct match_qlinear_reused
Expand Down

0 comments on commit 280a304

Please sign in to comment.