Firebase has AutoML for training your own model and using it with Tensorflow lite for mobile apps. All the AutoML docs tell you how to incorporate it in your Android Studio project, but I’m not a Studio user (seems way above my head).
Maybe someone smarter than me can figure out an extension for Kodular.
As far I checked, it requires a lot of dependencies from Android Studio, so it is not a simple .jar library. So it might be not possible to implement in Android Inventor.