mirror of
https://github.com/espruino/Espruino.git
synced 2025-12-08 19:06:15 +00:00
TensorFlow tidyup
This commit is contained in:
parent
a7408164db
commit
c80dfdaf62
@ -7,12 +7,14 @@ Created with:
|
||||
|
||||
```Bash
|
||||
# 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
|
||||
mv tensorflow git-tensorflow
|
||||
cd git-tensorflow
|
||||
cd tensorflow
|
||||
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
|
||||
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 ..
|
||||
mv tensorflow/tensorflow/lite/experimental/micro/examples/hello_world/* .
|
||||
```
|
||||
|
||||
@ -56,5 +56,5 @@ INCLUDE += \
|
||||
-I$(TENSOR_ROOT)/third_party/kissfft \
|
||||
-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
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user