Borrar filtros
Borrar filtros

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

2 visualizaciones (últimos 30 días)
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.

Respuestas (1)

Steven Lord
Steven Lord el 14 de Jul. de 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.

Categorías

Más información sobre Deep Learning with GPU Coder en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by