diff --git a/cmake/developer_package/ncc_naming_style/openvino.style b/cmake/developer_package/ncc_naming_style/openvino.style index 84a95471ec6e44..a67f84bc0be8c2 100644 --- a/cmake/developer_package/ncc_naming_style/openvino.style +++ b/cmake/developer_package/ncc_naming_style/openvino.style @@ -1,6 +1,6 @@ # custom OpenVINO values CppMethod: '^(operator\W+|[a-z_\d]+|signaling_NaN|quiet_NaN)$' -ClassName: '^([A-Z][\w]+|b?float16|f8e4m3|f8e5m2|numeric_limits|ngraph_error|stopwatch|unsupported_op)$' +ClassName: '^([A-Z][\w]+|b?float16|float8_e4m3|float8_e5m2|numeric_limits|ngraph_error|stopwatch|unsupported_op)$' StructName: '^([A-Z][\w]+|element_type_traits|hash|oi_pair|stat)$' FunctionName: '^(operator\W+|[a-z_\d]+)|PrintTo$' Namespace: '^([a-z\d_]*|InferenceEngine)$' diff --git a/src/core/src/type/float8_e4m3.cpp b/src/core/src/type/float8_e4m3.cpp index ad0df4dbe2e491..b541fb19d1ede7 100644 --- a/src/core/src/type/float8_e4m3.cpp +++ b/src/core/src/type/float8_e4m3.cpp @@ -68,7 +68,7 @@ uint8_t f32_to_f8e4m3_bits(const float value) { uint32_t bits; }; - const auto input = f32_t{.value = value}; + const auto input = f32_t{value}; auto f8_bits = static_cast((input.bits & f32_s_mask) >> three_bytes_shift); uint32_t f32_e_field = input.bits & f32_e_mask;