From af37b32f86ba8d120fe14e0a5f785f0fb6d36af2 Mon Sep 17 00:00:00 2001 From: =?utf8?q?=EB=B0=95=EC=A2=85=ED=98=84/=EB=8F=99=EC=9E=91=EC=A0=9C?= =?utf8?q?=EC=96=B4Lab=28SR=29/Senior=20Engineer/=EC=82=BC=EC=84=B1?= =?utf8?q?=EC=A0=84=EC=9E=90?= Date: Wed, 11 Apr 2018 16:31:32 +0900 Subject: [PATCH] [NNAPI Unittest Conv1] Initialize inputs correctly (#575) This commit fixes a bug in 'nnapi_unittest_conv_1' which incorrectly initializes inputs. Signed-off-by: Jonghyun Park --- tools/nnapi_unittests/tests/conv_1.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/nnapi_unittests/tests/conv_1.cpp b/tools/nnapi_unittests/tests/conv_1.cpp index 41fe208..501aaf8 100644 --- a/tools/nnapi_unittests/tests/conv_1.cpp +++ b/tools/nnapi_unittests/tests/conv_1.cpp @@ -219,7 +219,7 @@ int main(int argc, char **argv) for (const auto id : pure->inputs()) { auto pure_view = nnfw::support::tflite::TensorView::make(*pure, id); - auto nnapi_view = nnfw::support::tflite::TensorView::make(*pure, id); + auto nnapi_view = nnfw::support::tflite::TensorView::make(*delegated, id); assert(pure_view.shape() == nnapi_view.shape()); -- 2.7.4