aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKristofer Jonsson <kristofer.jonsson@arm.com>2020-11-16 09:21:20 +0100
committerKristofer Jonsson <kristofer.jonsson@arm.com>2020-11-17 16:44:57 +0100
commit6f144bec3d12d116c8ca7e866e178eca77dd3100 (patch)
tree9ae688896558f440adbef4bbadf2541adfb2f698
parent5014a448ab4f326d1152ad0ebfcac130d23ddbd0 (diff)
downloadethos-u-core-software-6f144bec3d12d116c8ca7e866e178eca77dd3100.tar.gz
Add TF_LITE_MICRO
Tensorflow is migrating its flag settings from from TF_LITE_STATIC_MEMORY to TF_LITE_MICRO. Change-Id: Iccc1ceef22b7db50fcc89e604a2839f32ccd7613
-rw-r--r--tensorflow.cmake2
1 files changed, 1 insertions, 1 deletions
diff --git a/tensorflow.cmake b/tensorflow.cmake
index 80f41f1..2ec9fa7 100644
--- a/tensorflow.cmake
+++ b/tensorflow.cmake
@@ -72,7 +72,7 @@ add_library(tflu STATIC IMPORTED)
set_property(TARGET tflu PROPERTY IMPORTED_LOCATION ${TFLU_GENDIR}/lib/libtensorflow-microlite.a)
add_dependencies(tflu tflu_gen)
target_include_directories(tflu INTERFACE ${TENSORFLOW_PATH})
-target_compile_definitions(tflu INTERFACE TF_LITE_STATIC_MEMORY)
+target_compile_definitions(tflu INTERFACE TF_LITE_MICRO TF_LITE_STATIC_MEMORY)
if(CORE_SOFTWARE_ACCELERATOR STREQUAL NPU)
target_link_libraries(tflu INTERFACE ethosu_core_driver)