81 karma · joined August 30, 2016
2. The interpreter is more optimized for being low overhead and the kernels are better optimized especially for ARM CPUs currently. While model performance varies by model - we have seen significant improvements on most models going from TensorFlow to TensorFlow Lite. We'll share benchmarks soon.
Do let us know if you build/run on other platforms.
TF Lite addresses the segment where you need more flexibility
- you ship single app to many types of devices
- would like to update the model independent of the code itself e.g. no change to Android APK, and update the model over the wire.
Even with this generality, TF Lite is still quite fast and lightweight as that was the focus building it up.
- As mentioned below - flatbuffers makes the startup time faster while trading off some flexibility
- Smaller code size means trading off dependency on some libraries and broader support vs writing more things from scratch more focused on the user cases people care about
Looking forward to your feedback as you try it out.