Contenu principal

Fondamentaux de la génération de code pour le Deep Learning

Fonctions, objets et workflows permettant de générer du code pour des réseaux de Deep Learning

Vous pouvez utiliser MATLAB® Coder™ avec Deep Learning Toolbox™ pour générer du code C++ à partir d’un CNN (réseau de neurones à convolution) entraîné. Vous pouvez ensuite déployer le code généré sur une plateforme embarquée utilisant un processeur Intel® ou ARM®. Il est également possible de générer du code C ou C++ à partir d’un CNN entraîné ne dépendant pas de bibliothèques tierces.

Fonctions

codegenGenerate C/C++ code from MATLAB code
coder.loadDeepLearningNetworkLoad deep learning network model
coder.DeepLearningConfigCreate deep learning code generation configuration objects
coder.DeepLearningCodeConfigParameters to configure deep learning code generation that does not depend on third-party libraries (depuis R2021a)
coder.ai.enableParameterUpdateEnables run-time update of network parameters (depuis R2025a)
coder.ARMNEONConfigParameters to configure deep learning code generation with the ARM Compute Library
coder.CMSISNNConfigParameters to configure deep learning code generation with the CMSIS-NN library for Cortex-M targets (depuis R2022a)
coder.MklDNNConfigParameters to configure deep learning code generation with the Intel Math Kernel Library for Deep Neural Networks
analyzeNetworkForCodegenAnalyze deep learning network for code generation (depuis R2022b)
coder.regenerateDeepLearningParametersRegenerate files containing network learnables and states parameters (depuis R2021b)

Paramètres de configuration du code

Deep learning target libraryTarget library for deep learning code generation
Learnables compressionCompression type
ARM Compute Library versionVersion of ARM Compute Library
ARM Compute architectureARM architecture supported in the target hardware
Data type (ARM Compute)Inference computation precision
Calibration result file path (ARM Compute)Location of calibration MAT file
Data type (CMSIS-NN)Inference computation precision
Calibration result file path (CMSIS-NN)Location of calibration MAT file

Rubriques

Informations connexes

Sélection d՚exemples