From: 박종현/동작제어Lab(SR)/Senior Engineer/삼성전자 Date: Tue, 10 Apr 2018 08:41:57 +0000 (+0900) Subject: Return correctly on NNAPI test failure (#536) X-Git-Tag: 0.1~355 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=854b3f71b6216772e53537ac6a7d78959e862dc3;p=platform%2Fcore%2Fml%2Fnnfw.git Return correctly on NNAPI test failure (#536) This commit revises TfLiteInterpMatchApp to return boolean instead of integer. Signed-off-by: Jonghyun Park --- 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; }