Skip to content

Commit

Permalink
Removed usage of deprecated ov::affinity property (#1467)
Browse files Browse the repository at this point in the history
  • Loading branch information
dmitry-gorokhov authored Jan 3, 2025
1 parent 482fa79 commit 2ab8fa8
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/python/py_utils.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -262,8 +262,6 @@ ov::Any py_object_to_any(const py::object& py_obj, std::string property_name) {
return py::cast<ov::device::Type>(py_obj);
} else if (py::isinstance<ov::streams::Num>(py_obj)) {
return py::cast<ov::streams::Num>(py_obj);
} else if (py::isinstance<ov::Affinity>(py_obj)) {
return py::cast<ov::Affinity>(py_obj);
} else if (py::isinstance<ov::Tensor>(py_obj)) {
return py::cast<ov::Tensor>(py_obj);
} else if (py::isinstance<ov::Output<ov::Node>>(py_obj)) {
Expand Down

0 comments on commit 2ab8fa8

Please sign in to comment.