summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
author오형석/On-Device Lab(SR)/Staff Engineer/삼성전자 <hseok82.oh@samsung.com>2019-04-23 16:58:13 +0900
committerGitHub Enterprise <noreply-CODE@samsung.com>2019-04-23 16:58:13 +0900
commit9df0eff70e680596f329dcf7ca097a914fe738ee (patch)
tree81a35c8a32f664233d71af4d414a5f1b6ac906e6 /tools
parent0b3ce387e1acfbd0ffe40c58391265d00b4c6cd0 (diff)
downloadnnfw-9df0eff70e680596f329dcf7ca097a914fe738ee.tar.gz
nnfw-9df0eff70e680596f329dcf7ca097a914fe738ee.tar.bz2
nnfw-9df0eff70e680596f329dcf7ca097a914fe738ee.zip
Introduce build option for tflite accuracy tool (#5048)
Introduce build option for tflite accuracy tool and set off as default Signed-off-by: Hyeongseok Oh <hseok82.oh@samsung.com>
Diffstat (limited to 'tools')
-rw-r--r--tools/tflite_accuracy/CMakeLists.txt4
1 files changed, 4 insertions, 0 deletions
diff --git a/tools/tflite_accuracy/CMakeLists.txt b/tools/tflite_accuracy/CMakeLists.txt
index bbb25da58..b545ac6bd 100644
--- a/tools/tflite_accuracy/CMakeLists.txt
+++ b/tools/tflite_accuracy/CMakeLists.txt
@@ -1,3 +1,7 @@
+if(NOT BUILD_TFLITE_ACCURACY)
+ return()
+endif(NOT BUILD_TFLITE_ACCURACY)
+
list(APPEND TFLITE_ACCURACY_SRCS "src/tflite_accuracy.cc")
add_executable(tflite_accuracy ${TFLITE_ACCURACY_SRCS})