We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fab3164 commit bf64631Copy full SHA for bf64631
src/Dialect/ONNX/Transforms/DQBinaryQOpt.cpp
@@ -437,7 +437,6 @@ struct FoldBinaryThroughQDQ : public OpRewritePattern<BinOp> {
437
return success();
438
}
439
440
- template <typename BinOp>
441
static bool compute_new_scale_and_zp_values(MatchState &state) {
442
double newScale = state.dstScale;
443
double newZpFloat = static_cast<double>(state.dstZeroPoint);
@@ -514,7 +513,7 @@ struct FoldBinaryThroughQDQ : public OpRewritePattern<BinOp> {
514
513
515
516
// STEP 4 -Modify
517
- if (!compute_new_scale_and_zp_values<BinOp>(state)) {
+ if (!compute_new_scale_and_zp_values(state)) {
518
return failure();
519
520
0 commit comments