File tree Expand file tree Collapse file tree 1 file changed +1
-14
lines changed
modules/nvidia_plugin/src/ops Expand file tree Collapse file tree 1 file changed +1
-14
lines changed Original file line number Diff line number Diff line change @@ -62,21 +62,8 @@ std::optional<std::size_t> ResultOp::GetOutputTensorSubIndex(const ov::Output<ov
6262}
6363
6464std::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
8269void ResultOp::Capture (InferenceRequestContext& context,
You can’t perform that action at this time.
0 commit comments