-# TODO add graphdump for arm cross build
-if(ROOTFS_ARM STREQUAL "")
- add_subdirectory(graphdump)
-endif()
+add_subdirectory(tf_model_tools)
add_subdirectory(tflite_run)
add_subdirectory(tflite_benchmark)
add_subdirectory(tflite_examples)
+++ /dev/null
-# NOTE Graph dump uses libtensorflow_graphdef
-# TODO Reduce indentation level
- list(APPEND SRCS "src/graphdump.cc")
-
- add_executable(graphdump ${SRCS})
- target_link_libraries(graphdump tensorflow_graphdef)
--- /dev/null
+# NOTE Graph dump uses libtensorflow_graphdef
+# TODO Reduce indentation level
+if(TARGET tensorflow_graphdef)
+ list(APPEND SRCS "tf_model_dump.cc")
+
+ add_executable(tf_model_dump ${SRCS})
+ target_link_libraries(tf_model_dump tensorflow_graphdef)
+endif(TARGET tensorflow_graphdef)
#!/bin/bash
TOOLCHAIN_BASE="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
-TENSORFLOW_BASE="${TOOLCHAIN_BASE}/../../externals/tensorflow"
+TENSORFLOW_BASE="${TOOLCHAIN_BASE}/../../../externals/tensorflow"
PROTOC="protoc"
#!/bin/bash
TOOLCHAIN_BASE="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
-TENSORFLOW_BASE="${TOOLCHAIN_BASE}/../../externals/tensorflow"
+TENSORFLOW_BASE="${TOOLCHAIN_BASE}/../../../externals/tensorflow"
PROTOC="protoc"