Main reference: https://omid.al/posts/2017-02-20-Tutorial-Build-Your-First-Tensorflow-Android-App.html 1. Preparing the TF Model, mainly a serialized GraphDef and checkpoint file 2. Generate optimized_tfdroid.pb file according to the above two files, which can be used for Android 3. Compile and generate or directly use the jar and so compiled by others to Android 4.Android call interface The above links have detailed codes and introductions that are not translated here.
Also see https://blog.mindorks.com/android-tensorflow-machine-learning-example-ff0e9b2654cc