Once trained, models must be transformed into a format compatible with the F28P55x NPU:
- ONNX Export: Convert trained models to the Open Neural Network Exchange (ONNX) format, which serves as the interchange standard for the compilation toolchain.
- TI NPU Compiler Configuration: Define compilation parameters through configuration files that specify target device, optimization strategies, and I/O requirements.
- Compilation Execution: Process the ONNX model through TI's Neural Network Compiler (TI MCU NNC) to generate C/C++ artifacts compatible with the NPU hardware.
- Compilation Output Verification: Validate the generated header files and libraries to ensure proper conversion, especially for critical aspects like dequantization in regression tasks.