diff --git a/src/core/include/openvino/core/type/element_type.hpp b/src/core/include/openvino/core/type/element_type.hpp index 531a8ccfcb5..b0d456fa0bd 100644 --- a/src/core/include/openvino/core/type/element_type.hpp +++ b/src/core/include/openvino/core/type/element_type.hpp @@ -69,7 +69,6 @@ public: Type() = default; Type(const Type&) = default; constexpr Type(const Type_t t) : m_type{t} {} - Type(size_t bitwidth, bool is_real, bool is_signed, bool is_quantized, const std::string& cname); explicit Type(const std::string& type); Type& operator=(const Type&) = default; std::string c_type_string() const; @@ -126,6 +125,9 @@ public: // Return element type in string representation std::string to_string() const; + OPENVINO_DEPRECATED("This constructor is deprecated. It will be removed in 2025.0") + Type(size_t bitwidth, bool is_real, bool is_signed, bool is_quantized, const std::string& cname); + private: Type_t m_type{Type_t::undefined}; };