Skip to content

Commit

Permalink
[LPT] Concat minLevel fix
Browse files Browse the repository at this point in the history
  • Loading branch information
eshoguli committed Jun 6, 2021
1 parent 2253ee8 commit 4f5fd79
Showing 1 changed file with 5 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -199,7 +199,11 @@ bool FakeQuantizeDecompositionTransformation::transform(TransformationContext& c
}
}

if ((intervalsAlignment != nullptr) && (intervalsAlignment->sharedValue->minLevels >= 2ul)) {
if (intervalsAlignment != nullptr) {
if (intervalsAlignment->sharedValue->minLevels <= 2ul) {
return false;
}

// const auto& combinedInterval = intervalsAlignment->sharedValue->combinedInterval;
// const float maxOutputInterval = combinedInterval.high - combinedInterval.low;
// // FQ -> SUB_quantization -> MUL_quantization -[INT8]-> SUB_dequantization -> MUL_dequantization ->
Expand Down

0 comments on commit 4f5fd79

Please sign in to comment.