From: 박종현/On-Device Lab(SR)/Staff Engineer/삼성전자 Date: Mon, 5 Aug 2019 08:13:56 +0000 (+0900) Subject: [locoex-customop] Use link helper (#6208) X-Git-Tag: submit/tizen/20190809.050447~171 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=e0cde039c43f542dc88f3ad03f6b30dcc3524cab;p=platform%2Fcore%2Fml%2Fnnfw.git [locoex-customop] Use link helper (#6208) Let's use link helper instead of deprecated node method. Signed-off-by: Jonghyun Park --- diff --git a/compiler/locoex-customop/src/Service/COpTypeInference.test.cpp b/compiler/locoex-customop/src/Service/COpTypeInference.test.cpp index 90ef1f2..add3419 100644 --- a/compiler/locoex-customop/src/Service/COpTypeInference.test.cpp +++ b/compiler/locoex-customop/src/Service/COpTypeInference.test.cpp @@ -37,12 +37,12 @@ TEST(TypeInferenceRuleTest, COpTypeInference) auto graph_input = g->inputs()->create(); graph_input->name("input"); - graph_input->node(pull_node); + loco::link(graph_input, pull_node); auto graph_output = g->outputs()->create(); graph_output->name("output"); - graph_output->node(push_node); + loco::link(graph_output, push_node); // Run Type Inference locoex::COpTypeInferenceRule rule;