Hauptinhalt

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. Choosing this setting sets Language to C++.

MKL-DNN

Generate code that uses the Intel Math Kernel Library for Deep Neural Networks. Choosing this setting sets Language to C++.

Arm Compute

Generate code that uses the ARM Compute Library. Choosing this setting sets Language to C++.

CMSIS-NN

Generate code that uses the Common Microcontroller Software Interface Standard - Neural Network library. Choosing this setting sets Language to C.

cuDNN

Generate code that uses the CUDA deep Neural Network library. Choosing this setting sets Language to C++.

TensorRT

Generate 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