8

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.

Benjamin Tan Wei Hao
  • 9,621
  • 3
  • 30
  • 56
  • Take a look at a similar question. The answers describe how to build python bindings for tflite. https://stackoverflow.com/questions/50902067/how-to-import-the-tensorflow-lite-interpreter-in-python – Sergey V. Apr 21 '19 at 13:17

1 Answers1

1

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.

Terry Heo
  • 149
  • 3