Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
cuongvng authored Mar 22, 2021
1 parent 68c6308 commit 15a8bef
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,11 +26,14 @@ bazel build -c opt //tensorflow/lite:libtensorflowlite.so --fat_apk_cpu=arm64-v8
bazel build -c opt //tensorflow/lite:libtensorflowlite.so --fat_apk_cpu=arm-v7a
```

Notice how the build commands are different from [TF Lite guides](https://www.tensorflow.org/lite/guide/android#use_tflite_c_api):
`--config=android_arm64` and `--config=android_arm` are replaced by `--fat_apk_cpu=arm64-v8a` and `--fat_apk_cpu=arm-v7a`, respectively.

The generated library would be saved at `./bazel-bin/tensorflow/lite/libtensorflowlite.so`.

### On Linux
Almost similar, except for installing Bazel (a little more complicated).
For more details, please check out the notebook [run_me.ipynb](./run_me.ipynb).

---
*If you find this repo useful, please give it a star!*
*If you find this repo useful, please give it a star!*

0 comments on commit 15a8bef

Please sign in to comment.