Skip to content

Commit

Permalink
Fix linter issues
Browse files Browse the repository at this point in the history
  • Loading branch information
adrianlizarraga committed Nov 9, 2023
1 parent 8ea4183 commit 53118bd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion onnxruntime/core/providers/qnn/builder/qnn_def.cc
Original file line number Diff line number Diff line change
Expand Up @@ -235,7 +235,7 @@ bool AreQnnQParamsEqual(const Qnn_QuantizeParams_t& qparam0, const Qnn_QuantizeP
const Qnn_BwScaleOffset_t& vals1 = qparam1.bwScaleOffsetEncoding;

return vals0.bitwidth == vals1.bitwidth && vals0.offset == vals1.offset &&
std::abs(vals0.scale - vals1.scale) <= scale_epsilon;
std::abs(vals0.scale - vals1.scale) <= scale_epsilon;
}
case QNN_QUANTIZATION_ENCODING_BW_AXIS_SCALE_OFFSET: {
const Qnn_BwAxisScaleOffset_t& vals0 = qparam0.bwAxisScaleOffsetEncoding;
Expand Down

0 comments on commit 53118bd

Please sign in to comment.