From e0cde039c43f542dc88f3ad03f6b30dcc3524cab Mon Sep 17 00:00:00 2001 From: =?utf8?q?=EB=B0=95=EC=A2=85=ED=98=84/On-Device=20Lab=28SR=29/Staff?= =?utf8?q?=20Engineer/=EC=82=BC=EC=84=B1=EC=A0=84=EC=9E=90?= Date: Mon, 5 Aug 2019 17:13:56 +0900 Subject: [PATCH] [locoex-customop] Use link helper (#6208) Let's use link helper instead of deprecated node method. Signed-off-by: Jonghyun Park --- compiler/locoex-customop/src/Service/COpTypeInference.test.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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; -- 2.7.4