Skip to content

Commit 0d51353

Browse files
Remove usage of deprecated get_ie_output_name() function (#933)
* Remove usage of deprecated get_ie_output_name() function Signed-off-by: Andrii Staikov <[email protected]> * fix OPENVINO_DEBUG * fix ; --------- Signed-off-by: Andrii Staikov <[email protected]>
1 parent db89f3b commit 0d51353

File tree

1 file changed

+1
-14
lines changed

1 file changed

+1
-14
lines changed

modules/nvidia_plugin/src/ops/result.cpp

Lines changed: 1 addition & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -62,21 +62,8 @@ std::optional<std::size_t> ResultOp::GetOutputTensorSubIndex(const ov::Output<ov
6262
}
6363

6464
std::vector<std::string> ResultOp::GetOutputTensorName(const ov::op::v0::Result& node) {
65-
std::vector<std::string> outputNames;
66-
6765
const auto& input = node.input_value(0);
68-
auto name = ov::op::util::get_ie_output_name(input);
69-
outputNames.push_back(name);
70-
71-
auto resultName = node.get_friendly_name();
72-
73-
// NOTE: New way of getting the fused names for OpenVINO 2.0 API
74-
// TODO: When support for old OpenVINO API will be stopped, consider using only this approach.
75-
// Also see any issues with Tacatron2 network
76-
const auto& fusedResults = ov::getFusedNamesVector(input.get_node()->shared_from_this());
77-
outputNames.insert(outputNames.end(), fusedResults.begin(), fusedResults.end());
78-
79-
return outputNames;
66+
return ov::getFusedNamesVector(input.get_node()->shared_from_this());
8067
}
8168

8269
void ResultOp::Capture(InferenceRequestContext& context,

0 commit comments

Comments
 (0)