From 5597f613798cee1128b178fbcab3d152a10f12d7 Mon Sep 17 00:00:00 2001 From: =?utf8?q?=EA=B9=80=EC=88=98=EC=A7=84/=EB=8F=99=EC=9E=91=EC=A0=9C?= =?utf8?q?=EC=96=B4Lab=28SR=29/Engineer/=EC=82=BC=EC=84=B1=EC=A0=84?= =?utf8?q?=EC=9E=90?= Date: Wed, 4 Apr 2018 22:44:12 +0900 Subject: [PATCH] Enable ModelBuilder::sortIntoRunOrder() (#435) This commit enables ModelBuilder::sortIntoRunOrder() which is missed in implementation. Signed-off-by: sjsujinkim --- src/runtime/ref/nn/runtime/ModelBuilder.cpp | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/runtime/ref/nn/runtime/ModelBuilder.cpp b/src/runtime/ref/nn/runtime/ModelBuilder.cpp index 12d4875..741498a 100644 --- a/src/runtime/ref/nn/runtime/ModelBuilder.cpp +++ b/src/runtime/ref/nn/runtime/ModelBuilder.cpp @@ -295,8 +295,6 @@ int ModelBuilder::finish() { } void ModelBuilder::sortIntoRunOrder() { - // Dummy Implementation -#if 0 // Tracks the operations that can be executed. std::vector opsReadyToRun; std::vector runOrder; @@ -341,8 +339,8 @@ void ModelBuilder::sortIntoRunOrder() { } } mOperations = runOrder; -#endif } + void ModelBuilder::setHidlModel(Model* model) const { model->operands = mOperands; model->operations = mOperations; -- 2.7.4