aboutsummaryrefslogtreecommitdiff
path: root/tensorflow.cmake
diff options
context:
space:
mode:
authorKristofer Jonsson <kristofer.jonsson@arm.com>2020-08-31 11:34:14 +0200
committerKristofer Jonsson <kristofer.jonsson@arm.com>2020-09-01 09:47:51 +0200
commit641c09157ebe25590e0ba378f70f05fc7466b8b1 (patch)
tree86d74b65c935e4485d32a6c94381a46b2d822f6a /tensorflow.cmake
parent7e0775474aa06ecd264c5cec299f73e66c37af9e (diff)
downloadethos-u-core-software-641c09157ebe25590e0ba378f70f05fc7466b8b1.tar.gz
Moving message- and inference processes to core software20.08
Change-Id: I76e94440402d58848116d06ff3fd1ed2000ac505
Diffstat (limited to 'tensorflow.cmake')
-rw-r--r--tensorflow.cmake1
1 files changed, 1 insertions, 0 deletions
diff --git a/tensorflow.cmake b/tensorflow.cmake
index f806ee4..8d9ae1d 100644
--- a/tensorflow.cmake
+++ b/tensorflow.cmake
@@ -67,6 +67,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)
# Install libraries and header files
get_target_property(TFLU_IMPORTED_LOCATION tflu IMPORTED_LOCATION)