[Core] Deprecate ambiguous ov::element::Type ctor (#24698)
### Details: - Added deprecation mark to ambiguous ov::element::Type ctor (https://github.com/openvinotoolkit/openvino/pull/11211#discussion_r834939746) ### Tickets: - CVS-133840 --------- Co-authored-by: Michal Lukaszewski <michal.lukaszewski@intel.com>
This commit is contained in:
parent
00d525f5a2
commit
a156b69ccc
|
|
@ -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};
|
||||
};
|
||||
|
|
|
|||
Loading…
Reference in New Issue