[HETERO] Enable smoke_Hetero_CachingSupportCase tests (#16711)

This commit is contained in:
Nadezhda Ageeva
2023-04-06 21:19:37 +04:00
committed by GitHub
parent c7c7c4bb05
commit 5e2f424fd0
2 changed files with 2 additions and 4 deletions

View File

@@ -592,9 +592,10 @@ HeteroExecutableNetwork::HeteroExecutableNetwork(std::istream& heteroModel,
}
std::shared_ptr<ov::Node> node = std::make_shared<ov::op::v0::Parameter>(elementType, partialShape);
// For result operation_name is name of previous operation
node->set_friendly_name(operation_name);
if (!is_param)
node = std::make_shared<ov::op::v0::Result>(node);
node->set_friendly_name(operation_name);
node->output(0).get_tensor().add_names(tensorNames);
return node;