|
STM32N6 NPU Deployment — Politecnico di Milano
1.0
Documentation for Neural Network Deployment on STM32N6 NPU - Politecnico di Milano 2024-2025
|
Deployment functions for STM32N6 MCU and STM32MP MPU target devices. More...
Go to the source code of this file.
Namespaces | |
| deploy | |
Functions | |
| None | deploy.deploy (DictConfig cfg=None, Optional[str] model_path_to_deploy=None, list credentials=None) |
| Key parameters: More... | |
| None | deploy.deploy_mpu (DictConfig cfg=None, Optional[str] model_path_to_deploy=None, list credentials=None) |
Deployment functions for STM32N6 MCU and STM32MP MPU target devices.
This module provides two deployment functions:
deploy_mpu() : Deploys a model onto an STM32MP MPU board (e.g., STM32MP257F-EV1) optionally with cloud-based NBG optimization.
Deployment workflow for STM32N6 (MCU path):
ai_model_config.h via gen_h_user_file_n6(). This file contains model metadata (input shape, output shape, keypoints, etc.) that the C firmware application needs to configure itself at runtime.Definition in file deploy.py.