Adding the recipe tensorflow-lite to my rootfs blows it from 68 to 408MB. The biggest hits are in
/usr/lib (where python3.9, valgrind, perl5 and audit has been added)
/usr/bin/tensorflow... where there is an example.
What to do to minimize impact on rootfs, but keep the required libs? Can you share a recipe with reduced footprint? Looking at the recipe it is easy not to install the example, but how to aware of installing the other mentioned parts?
If you installed the full image you don't have to add anything to its tensor flow lite since the full image already have it. The sample for tensorfow are in /usr/bin/tensorflow-lite-2.2.0/examples folder, Also check the machine learning guide fro the yocto documentation.