Skip to content

OpenVINO™ is an open source toolkit for optimizing and deploying AI inference

[core] Remove deprecated members from tensor descriptor (#32849)

Pawel Raasz2b5f79eee6dd
diff --git a/src/core/include/openvino/core/descriptor/tensor.hpp b/src/core/include/openvino/core/descriptor/tensor.hpp
index b734fa33cc1..a9ac0dd4b40 100644
--- a/src/core/include/openvino/core/descriptor/tensor.hpp
+++ b/src/core/include/openvino/core/descriptor/tensor.hpp
@@ -42,9 +42,6 @@ public:
const PartialShape& pshape,
const std::unordered_set<std::string>& names = {});
- OPENVINO_DEPRECATED("This constructor is deprecated. Will be removed in 2026.0")
- Tensor(const element::Type& element_type, const PartialShape& pshape, Node* node, size_t node_output_number);
-
Tensor(const Tensor&) = delete;
Tensor& operator=(const Tensor&) = delete;
diff --git a/src/core/src/descriptor/tensor.cpp b/src/core/src/descriptor/tensor.cpp
index 0fa9b4f2857..e0786027c7f 100644
--- a/src/core/src/descriptor/tensor.cpp
+++ b/src/core/src/descriptor/tensor.cpp
@@ -149,9 +149,6 @@ Tensor::Tensor(const element::Type& element_type,
const std::unordered_set<std::string>& names)
: m_impl(std::make_shared<BasicTensor>(element_type, pshape, names)) {}
-Tensor::Tensor(const element::Type& element_type, const PartialShape& pshape, ov::Node* node, size_t)
- : m_impl(std::make_shared<BasicTensor>(element_type, pshape, std::unordered_set<std::string>{})) {}
-
void Tensor::invalidate_values() {
if (ov::skip_invalidation(*this))
return;