Return correctly on NNAPI test failure (#536)
author박종현/동작제어Lab(SR)/Senior Engineer/삼성전자 <jh1302.park@samsung.com>
Tue, 10 Apr 2018 08:41:57 +0000 (17:41 +0900)
committer김정현/동작제어Lab(SR)/Senior Engineer/삼성전자 <jh0822.kim@samsung.com>
Tue, 10 Apr 2018 08:41:57 +0000 (17:41 +0900)
This commit revises TfLiteInterpMatchApp to return boolean instead of
integer.

Signed-off-by: Jonghyun Park <jh1302.park@samsung.com>
src/support/tflite/src/Diff.cpp

index 24726d3..6b4b1f4 100644 (file)
@@ -94,11 +94,11 @@ bool TfLiteInterpMatchApp::run(::tflite::Interpreter &interp, ::tflite::Interpre
         }
       }
 
-      return 255;
+      return false;
     }
   }
 
-  return 0;
+  return true;
 }