Creating Tflite model with user input

I want to create a tensor-flow Lite model in which the microcontroller(i.e. ESP32) initially learns from user input and latter when same condition or related condition carries it gives the output as provided by user.

Could you guide me how to perform that?

Microcontrollers have limited resources, which makes things more difficult. There has been some academic work on online learning on microcontrollers, e.g. TinyOL. But I’m not aware of any open-source ML frameworks for doing ML training on microcontrollers.

In particular, for “TensorFlow Lite for MicroControllers”, according to the docs, “On device training is not supported.”

So you might want to consider an architecture where the training happens on a server and the microcontroller occasionally fetches a new model from the server?