diff options
author | A. Unique TensorFlower <gardener@tensorflow.org> | 2018-07-12 12:13:14 -0700 |
---|---|---|
committer | TensorFlower Gardener <gardener@tensorflow.org> | 2018-07-12 12:20:42 -0700 |
commit | 746a51b76742574d81783a4efe437e1824073d88 (patch) | |
tree | d9c778f448ec9dcff443ed82566fed0437a18149 /tensorflow/contrib/lite/examples/android | |
parent | 9ba6943a1dbbc415b72835517ad58808ca6a6a3d (diff) |
To package support for both 32 bit and 64 bit in single apk, we need different flag
PiperOrigin-RevId: 204341142
Diffstat (limited to 'tensorflow/contrib/lite/examples/android')
-rw-r--r-- | tensorflow/contrib/lite/examples/android/app/README.md | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tensorflow/contrib/lite/examples/android/app/README.md b/tensorflow/contrib/lite/examples/android/app/README.md index 3065a5f6ee..8e12bd04dd 100644 --- a/tensorflow/contrib/lite/examples/android/app/README.md +++ b/tensorflow/contrib/lite/examples/android/app/README.md @@ -4,10 +4,10 @@ 1. Follow the [Bazel steps for the TF Demo App](https://github.com/tensorflow/tensorflow/tree/master/tensorflow/examples/android#bazel). -2. Build the app with Bazel. The demo needs C++11: +2. Build the app with Bazel. The demo needs C++11. We configure the fat_apk_cpu flag to package support for 4 hardware variants. You may replace it with --config=android_arm64 on a 64-bit device and --config=android_arm for 32-bit device: ```shell - bazel build -c opt --cxxopt='--std=c++11' \ + bazel build -c opt --cxxopt='--std=c++11' --fat_apk_cpu=x86,x86_64,arm64-v8a,armeabi-v7a \ //tensorflow/contrib/lite/examples/android:tflite_demo ``` |