Are the neural network training methods (like train(), or trainlm()) supported by codegen and App Compiler?
3 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
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.
0 Kommentare
Antworten (1)
Steven Lord
am 14 Jul. 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.
0 Kommentare
Siehe auch
Kategorien
Mehr zu Deep Learning with GPU Coder finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!