Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove usage of deprecated get_ie_output_name() function #933

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 1 addition & 14 deletions modules/nvidia_plugin/src/ops/result.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -62,21 +62,8 @@ std::optional<std::size_t> ResultOp::GetOutputTensorSubIndex(const ov::Output<ov
}

std::vector<std::string> ResultOp::GetOutputTensorName(const ov::op::v0::Result& node) {
std::vector<std::string> outputNames;

const auto& input = node.input_value(0);
auto name = ov::op::util::get_ie_output_name(input);
outputNames.push_back(name);

auto resultName = node.get_friendly_name();

// NOTE: New way of getting the fused names for OpenVINO 2.0 API
// TODO: When support for old OpenVINO API will be stopped, consider using only this approach.
// Also see any issues with Tacatron2 network
const auto& fusedResults = ov::getFusedNamesVector(input.get_node()->shared_from_this());
outputNames.insert(outputNames.end(), fusedResults.begin(), fusedResults.end());

return outputNames;
return ov::getFusedNamesVector(input.get_node()->shared_from_this());
}

void ResultOp::Capture(InferenceRequestContext& context,
Expand Down
Loading