Main Content

Deep Learning withMATLABCoder

Generate C++ code for deep learning neural networks (requires Deep Learning Toolbox™)

Deep learning is a branch of machine learning that teaches computers to do what comes naturally to humans: learn from experience. The learning algorithms use computational methods to “learn” information directly from data without relying on a predetermined equation as a model. Deep learning uses convolutional neural networks (CNNs) to learn useful representations of data directly from images.

You can useMATLAB®Coder™with Deep Learning Toolbox to generate C++ code from a trained CNN. You can then deploy the generated code to an embedded platform that uses an Intel®or ARM®processor. You can also generate generic C or C++ code from a trained CNN that does not depend on any third-party libraries.

Deep Learning withMATLAB Coderis not supported inMATLAB Online™.

Functions

codegen Generate C/C++ code fromMATLABcode
coder.loadDeepLearningNetwork Load deep learning network model
coder.DeepLearningConfig Create deep learning code generation configuration objects
coder.ARMNEONConfig Parameters to configure deep learning code generation with theARMCompute Library
coder.CMSISNNConfig Parameters to configure deep learning code generation with the CMSIS-NN library for Cortex-M targets
coder.MklDNNConfig Parameters to configure deep learning code generation with theIntelMath Kernel Library for Deep Neural Networks
analyzeNetworkForCodegen Analyze deep learning network for code generation
coder.regenerateDeepLearningParameters Regenerate files containing network learnables and states parameters

Topics

Related Information

Baidu
map