Search code examples
tensorflowraspberry-pi3tensorflow-lite

How to use libtensorflow-lite.a on Raspi 3?


I want to install TensorFlow Lite on the Raspi.

I assume I can first pip install the prebuilt TensorFlow for the Raspi. I'm reading the instructions to cross compile TensorFlow Lite here, but I have no idea what to do after generating libtensorflow-lite.a.


Solution

  • The libtensorflow-lite.a should be used for C++ inference code.

    There is a minimal example of TFLite. You can find Makefile from here. You might also want to check C++ API doc.