From 854b3f71b6216772e53537ac6a7d78959e862dc3 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: Tue, 10 Apr 2018 17:41:57 +0900 Subject: [PATCH] Return correctly on NNAPI test failure (#536) This commit revises TfLiteInterpMatchApp to return boolean instead of integer. Signed-off-by: Jonghyun Park --- src/support/tflite/src/Diff.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/support/tflite/src/Diff.cpp b/src/support/tflite/src/Diff.cpp index 24726d3..6b4b1f4 100644 --- a/src/support/tflite/src/Diff.cpp +++ b/src/support/tflite/src/Diff.cpp @@ -94,11 +94,11 @@ bool TfLiteInterpMatchApp::run(::tflite::Interpreter &interp, ::tflite::Interpre } } - return 255; + return false; } } - return 0; + return true; } -- 2.7.4