Skip to content

Commit e5042b0

Browse files
committed
Clang format
1 parent 0ba1789 commit e5042b0

File tree

2 files changed

+10
-7
lines changed

2 files changed

+10
-7
lines changed

src/common/low_precision_transformations/src/qdq_stripping.cpp

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -53,14 +53,14 @@ FQStrippingTransformation::FQStrippingTransformation(const std::set<size_t>& lev
5353
auto input_high = ov::as_type_ptr<ov::op::v0::Constant>(pattern_map.at(input_high_m).get_node_shared_ptr());
5454
auto output_low = ov::as_type_ptr<ov::op::v0::Constant>(pattern_map.at(output_low_m).get_node_shared_ptr());
5555
auto output_high = ov::as_type_ptr<ov::op::v0::Constant>(pattern_map.at(output_high_m).get_node_shared_ptr());
56-
57-
// TODO: need to check that input and output intervals are equal
56+
5857
if (!input_low || !input_high || !output_low || !output_high) {
5958
return false;
6059
}
6160
auto constants_are_equal = [](const std::shared_ptr<ov::op::v0::Constant>& lhs,
6261
const std::shared_ptr<ov::op::v0::Constant>& rhs) {
63-
auto equal = ov::as_type_ptr<ov::op::v0::Constant>(ov::op::util::make_try_fold<ov::op::v1::Equal>(lhs, rhs));
62+
auto equal =
63+
ov::as_type_ptr<ov::op::v0::Constant>(ov::op::util::make_try_fold<ov::op::v1::Equal>(lhs, rhs));
6464
OPENVINO_ASSERT(equal && ov::shape_size(equal->get_shape()) == 1,
6565
"constants_are_equal expects scalar constant as a comparison result");
6666
return equal->get_vector<bool>()[0] == true;
@@ -83,6 +83,6 @@ FQStrippingTransformation::FQStrippingTransformation(const std::set<size_t>& lev
8383
this->register_matcher(m, callback);
8484
}
8585

86-
} // namespace low_precision
87-
} // namespace pass
88-
} // namespace ov
86+
} // namespace low_precision
87+
} // namespace pass
88+
} // namespace ov

src/common/transformations/include/transformations/common_optimizations/convert_quantize_dequantize.hpp

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,9 @@ class TRANSFORMATIONS_API ConvertQuantizeDequantize;
3333
class ov::pass::ConvertQuantizeDequantize : public ov::pass::MatcherPass {
3434
public:
3535
OPENVINO_MATCHER_PASS_RTTI("ConvertQuantizeDequantize");
36-
ConvertQuantizeDequantize(const ov::element::TypeVector& supported_low_precisions = {ov::element::i8, ov::element::u8, ov::element::i16, ov::element::u16},
36+
ConvertQuantizeDequantize(const ov::element::TypeVector& supported_low_precisions = {ov::element::i8,
37+
ov::element::u8,
38+
ov::element::i16,
39+
ov::element::u16},
3740
const ov::element::TypeVector& supported_original_precisions = {ov::element::f32});
3841
};

0 commit comments

Comments
 (0)