TensorFlow tidyup

This commit is contained in:
Gordon Williams 2019-09-12 12:37:10 +01:00
parent a7408164db
commit c80dfdaf62
2 changed files with 6 additions and 4 deletions

View File

@ -7,12 +7,14 @@ Created with:
```Bash ```Bash
# https://github.com/tensorflow/tensorflow/tree/master/tensorflow/lite/experimental/micro # https://github.com/tensorflow/tensorflow/tree/master/tensorflow/lite/experimental/micro
# Assuming Espruino is in /workspace/Espruino
cd ~/workspace
git clone https://github.com/tensorflow/tensorflow --depth=1 git clone https://github.com/tensorflow/tensorflow --depth=1
mv tensorflow git-tensorflow cd tensorflow
cd git-tensorflow
make -f tensorflow/lite/experimental/micro/tools/make/Makefile make -f tensorflow/lite/experimental/micro/tools/make/Makefile
make -f tensorflow/lite/experimental/micro/tools/make/Makefile TARGET=make TAGS="disco_f746ng" generate_projects make -f tensorflow/lite/experimental/micro/tools/make/Makefile TARGET=make TAGS="disco_f746ng" generate_projects
cp -R tensorflow/lite/experimental/micro/tools/make/gen/make_x86_64/prj/hello_world/make/* .. cp -R tensorflow/lite/experimental/micro/tools/make/gen/make_x86_64/prj/hello_world/make/* ~/workspace/Espruino/libs/tensorflow
#
cd .. cd ..
mv tensorflow/tensorflow/lite/experimental/micro/examples/hello_world/* . mv tensorflow/tensorflow/lite/experimental/micro/examples/hello_world/* .
``` ```

View File

@ -56,5 +56,5 @@ INCLUDE += \
-I$(TENSOR_ROOT)/third_party/kissfft \ -I$(TENSOR_ROOT)/third_party/kissfft \
-I$(TENSOR_ROOT)/third_party/flatbuffers/include -I$(TENSOR_ROOT)/third_party/flatbuffers/include
CCFLAGS += -DNDEBUG -g -DTF_LITE_STATIC_MEMORY --std=c++11 -g -fno-rtti -fpermissive -Wno-sign-compare -Wno-conversion -Wno-sign-conversion -Wno-missing-field-initializers -Wno-type-limits -Wno-unused-parameter CCFLAGS += -DNDEBUG -g -DTF_LITE_STATIC_MEMORY --std=c++11 -g -fno-rtti -fpermissive -Wno-sign-compare -Wno-conversion -Wno-sign-conversion -Wno-missing-field-initializers -Wno-type-limits -Wno-unused-parameter -Wno-unused-variable