From: 박종현/On-Device Lab(SR)/Staff Engineer/삼성전자 Date: Mon, 5 Aug 2019 07:33:07 +0000 (+0900) Subject: [loco-exporter] Use link helper (#6212) X-Git-Tag: submit/tizen/20190809.050447~178 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=0d32356fa2b99f612e4d463e99a7cba9c145f346;p=platform%2Fcore%2Fml%2Fnnfw.git [loco-exporter] Use link helper (#6212) Let's use link helper instead of deprecated node method. Signed-off-by: Jonghyun Park --- diff --git a/compiler/loco-exporter/src/Exporter.test.cpp b/compiler/loco-exporter/src/Exporter.test.cpp index 5dd96c1..1e46e3e 100644 --- a/compiler/loco-exporter/src/Exporter.test.cpp +++ b/compiler/loco-exporter/src/Exporter.test.cpp @@ -45,7 +45,7 @@ public: auto graph_input = _graph.inputs()->create(); graph_input->name("graph_input"); - graph_input->node(pull); + loco::link(graph_input, pull); pull->dtype(loco::DataType::FLOAT32); setSampleShape(pull); @@ -71,7 +71,7 @@ public: auto graph_output = _graph.outputs()->create(); graph_output->name("graph_output"); - graph_output->node(push); + loco::link(graph_output, push); push->from(input); return push;