Effacer les filtres
Effacer les filtres

Are the neural network training methods (like train(), or trainlm()) supported by codegen and App Compiler?

2 vues (au cours des 30 derniers jours)
Are the neural network training methods (like train(), or trainlm()) supported by codegen and App Compiler?
I have a project where I intend to develop machine learning using Matlab, but need to compile to C code to run on an embedded processor using codegen.

Réponses (1)

Steven Lord
Steven Lord le 14 Juil 2022
Looking at the documentation page for the shallow neural network train function in Deep Learning Toolbox, it does not have an Extended Capabilities section so it does not support C or C++ code generation.
Another way to determine which functions support C or C++ code generation is to look at the function list for the toolbox. Each product's main documentation page has one or more links above the right frame (just below the "Search Help Center" search box.) 73 of the functions support C/C++ Code Generation (though some may support it with limitations or usage notes.)
The section on the MATLAB Compiler product page that talks about what functions are supported for use with MATLAB Compiler is a bit more vague. But since the row for Deep Learning Toolbox does say that "Most command line functionality, including functions for training neural networks" that suggests that the answer to the second part of your question is at least partially yes.

Catégories

En savoir plus sur Deep Learning with GPU Coder dans Help Center et File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by