Abhishekmishra2808 opened a new pull request, #3804:
URL: https://github.com/apache/nuttx-apps/pull/3804
## Summary
The tflm tool could only allocate a model: it knew nine operators, ran
Invoke() on uninitialized input, and never printed the result. The 64 KB
MicroProfiler also lived on the 4 KB task stack.
Register the operators a model uses (about 90 builtins), verify the file
with the FlatBuffers verifier, and add:
-I print operators, input/output tensors and arena usage
-d comma separated input values, quantized automatically
-x raw input tensor file
-n repeat inference and print the average Invoke() time
Outputs are printed dequantized with argmax. Inputs are restored before
every run because the planner may reuse their buffers. The resolver, profiler
and interpreter are allocated on the heap.
## Impact
*Update this section, where applicable, on how change affects users,
build process, hardware, documentation, security, compatibility, etc.*
## Testing
*Update this section with details on how did you verify the change,
what Host was used for build (OS, CPU, compiler, ..), what Target was
used for verification (arch, board:config, ..), etc. Providing build
and runtime logs from before and after change is highly appreciated.*
--
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: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]