Deep learning target library
Target library for deep learning code generation
Description
App Configuration Pane: Deep Learning
The Deep learning library specifies the deep learning library
for code generation. You can also specify the deep learning target library in command line by
using the coder.DeepLearningConfig function.
Dependencies
For generating generic C/C++ code, or C/C++ code that uses third-party libraries such as Intel® MKL-DNN and ARM® Compute libraries, you must use the MATLAB Coder App.
For generating plain CUDA code, or CUDA code that uses NVIDIA® high-performance deep learning libraries, you must:
Use the GPU Coder App, or
Open the MATLAB Coder App, then set Output to CUDA in the Prepare section.
Settings
Arm ComputeGenerate code that uses the ARM Compute Library. Choosing this setting sets Language to
C++.CMSIS-NNGenerate code that uses the Common Microcontroller Software Interface Standard - Neural Network library. Choosing this setting sets Language to
C.cuDNNGenerate code that uses the CUDA deep Neural Network library. Choosing this setting sets Language to
C++.TensorRTGenerate code that uses the NVIDIA TensorRT deep learning inference optimizer and run-time library. Choosing this setting sets Language to
C++.
Version History
Introduced in R2018a