From c3b87f098d439e6e4fd5f96e64a2ab473ce218c0 Mon Sep 17 00:00:00 2001 From: Steve Yoo Date: Thu, 23 Sep 2021 12:51:40 +0900 Subject: [PATCH] Fix to use ngraph::clone_function() --- .../tests/functional/plugin/shared/src/hetero/synthetic.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/inference-engine/tests/functional/plugin/shared/src/hetero/synthetic.cpp b/inference-engine/tests/functional/plugin/shared/src/hetero/synthetic.cpp index f0cc2f9e807..6feb3fde22e 100644 --- a/inference-engine/tests/functional/plugin/shared/src/hetero/synthetic.cpp +++ b/inference-engine/tests/functional/plugin/shared/src/hetero/synthetic.cpp @@ -106,7 +106,7 @@ void HeteroSyntheticTest::SetUp() { --num; } function = std::get(param)._function; - functionRefs = function; + functionRefs = ngraph::clone_function(*function); } void HeteroSyntheticTest::TearDown() {