Skip to content

Commit bf64631

Browse files
author
sushmita
committed
compile bug-fix
1 parent fab3164 commit bf64631

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/Dialect/ONNX/Transforms/DQBinaryQOpt.cpp

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -437,7 +437,6 @@ struct FoldBinaryThroughQDQ : public OpRewritePattern<BinOp> {
437437
return success();
438438
}
439439

440-
template <typename BinOp>
441440
static bool compute_new_scale_and_zp_values(MatchState &state) {
442441
double newScale = state.dstScale;
443442
double newZpFloat = static_cast<double>(state.dstZeroPoint);
@@ -514,7 +513,7 @@ struct FoldBinaryThroughQDQ : public OpRewritePattern<BinOp> {
514513
}
515514

516515
// STEP 4 -Modify
517-
if (!compute_new_scale_and_zp_values<BinOp>(state)) {
516+
if (!compute_new_scale_and_zp_values(state)) {
518517
return failure();
519518
}
520519

0 commit comments

Comments
 (0)