diff options
author | A. Unique TensorFlower <gardener@tensorflow.org> | 2018-07-11 13:20:33 -0700 |
---|---|---|
committer | TensorFlower Gardener <gardener@tensorflow.org> | 2018-07-11 13:23:29 -0700 |
commit | 2d82ac3bbd4727e1b9cdf3783e7cedc5ed9f8f8d (patch) | |
tree | a2b4bcd81e4c74fb0fd330200f0098d8336da2c3 /tensorflow/contrib/lite/examples | |
parent | ae1056ea22c8462668e168741fae1b456c9155d9 (diff) |
Add documentation to TF Lite demo example app
PiperOrigin-RevId: 204176713
Diffstat (limited to 'tensorflow/contrib/lite/examples')
-rw-r--r-- | tensorflow/contrib/lite/examples/android/app/README.md | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/tensorflow/contrib/lite/examples/android/app/README.md b/tensorflow/contrib/lite/examples/android/app/README.md new file mode 100644 index 0000000000..3065a5f6ee --- /dev/null +++ b/tensorflow/contrib/lite/examples/android/app/README.md @@ -0,0 +1,19 @@ +# TF Lite Android App Example + +## Building from Source with Bazel + +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: + + ```shell + bazel build -c opt --cxxopt='--std=c++11' \ + //tensorflow/contrib/lite/examples/android:tflite_demo + ``` + +3. Install the demo on a + [debug-enabled device](https://github.com/tensorflow/tensorflow/tree/master/tensorflow/examples/android#install): + + ```shell + adb install bazel-bin/tensorflow/contrib/lite/examples/android/tflite_demo.apk + ``` |