Main Content

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

none

Generate generic C/C++ or plain CUDA code that does not depend on any third-party libraries.

MKL-DNN

Generate code that uses the Intel Math Kernel Library for Deep Neural Networks.

Arm Compute

Generate code that uses the ARM Compute Library.

CMSIS-NN

Generate code that uses the Common Microcontroller Software Interface Standard - Neural Network library.

cuDNN

Generate code that uses the CUDA deep Neural Network library.

TensorRT

Generate code that uses the NVIDIA TensorRT deep learning inference optimizer and run-time library.

Version History

Introduced in R2018a