cederom commented on PR #2747: URL: https://github.com/apache/nuttx-apps/pull/2747#issuecomment-2419659015
> > Thank you @jihandong amazing work!! :-) > > Would it be possible to add Documentation and example / test applications in a separate PR in a free moment? :-) > > I'd like to. But compared to the background knowledge of AI, tflite-micro is very esay to use and there are already many good documents. Share some steps here: > > 1. First u need to prepare your own tflite model file. > > 2. Register needed operators by `tflite::MicroMutableOpResolver<T>::Add*`. > > 3. Prepare a piece of memory as memory pool(tflite-micro calls it "arena") for intermediate calculations. > > 4. Initialize a `MicroIntepreter`, every instance represents a parsed model. > > 5. Finally, ou can get the input and output addresses(from the memory pool) through `interpreter::GetInput` and `interpreter::GetOutput`, `interpreter::Invoke` would do once inference. > > > Hope these steps help u. :) Its not really for me, but for any user or newcomer to NuttX that would be interested in this subject :-) We have project documentation available at: https://nuttx.apache.org/docs/latest/ Source code for this Documentation is here: https://github.com/apache/nuttx/tree/master/Documentation We usually provide starting point "examples" that presents some basic functionalities and acts as project templates: https://github.com/apache/nuttx-apps/tree/master/examples Its also good way to announce your work results to the world :-) -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@nuttx.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org