1. 程式人生 > >How to build Tensorflow as a Static Library for Android

How to build Tensorflow as a Static Library for Android

A few months ago, I published a Medium story teaching "How to build Tensorflow on Windows with /MT (CPU & GPU)". Recently, I had to make the same Tensorflow code I wrote for a desktop application compiles as an Android static library. As always, it wasn't easy and I'll try again to help others with this task. In order to build, you'll need the following requirements: Choose appropriated HOST and TARGET libraries. I have a Github Repository where I keep instructions to build specific versions of Tensorflow with /MT.