Explanation of 'validation on target' output from X-CUBE-AI command line interface with TFLM runtime
- January 30, 2024
- 1 reply
- 3049 views
Board Used: STM32 Nucleo-L476RG
Workflow: I configured the board, added X-CUBE-AI library in Validation mode, added network in .tflite format with TFLM runtime and generated the code using STMCubeMX. Built the project and flashed the firmware with STMCubeIDE. With the X-CUBE-AI CLI, I validated the tflite model on target.
Issue: I cannot understand the profiling results obtained here. Sample output is shown in the picture
1. For the duration value, what is meant by 'by sample'?
2. And what do the values in brackets represent for the duration?
3. What is meant by HOST duration and how is it different from normal duration?
4. In the TFLM support page on X-CUBE-AI documentation for the 8.1.0 version (screenshot attached), the output snippet provided for AI Validation application does not match the output I get from the CLI in terms of how the duration is displayed, which makes it even harder to understand the output I'm getting. Is the output snippet from a different version of the library?
