mirror of
https://github.com/bytecodealliance/wasm-micro-runtime.git
synced 2025-07-15 08:48:33 +00:00
Installation script of tensorflow
This commit is contained in:
parent
cb15b44174
commit
e4932d047b
|
@ -1 +1,18 @@
|
|||
echo "IM INSIDE BUILD-SCRIPTS"
|
||||
mkdir -p /root/src/tflite
|
||||
cd /root/src/tflite
|
||||
|
||||
git clone https://github.com/tensorflow/tensorflow.git tensorflow_src \
|
||||
--branch v2.8.2
|
||||
|
||||
mkdir -p build
|
||||
cd build
|
||||
|
||||
cmake ../tensorflow_src/tensorflow/lite
|
||||
|
||||
cmake --build . -j $(grep -c ^processor /proc/cpuinfo)
|
||||
|
||||
mkdir /usr/local/lib/tflite; find . | grep -E "\.a$" | xargs cp -t /usr/local/lib/tflite
|
||||
|
||||
cp -r flatbuffers/include/flatbuffers /usr/local/include
|
||||
|
||||
cp -r ../tensorflow_src/tensorflow /usr/local/include
|
||||
|
|
Loading…
Reference in New Issue
Block a user