Target library
Description
Specify the target deep learning library used during code generation.
Category: Code Generation > Interface
Settings
Default:
None
MKL-DNN
Use this option for generating code that uses the Intel® Math Kernel Library for Deep Neural Networks (Intel MKL-DNN).
ARM Compute
Use this option for generating code that uses the ARM® Compute Library.
cuDNN
Use this option for generating code that uses the CUDA® Deep Neural Network library (cuDNN).
TensorRT
Use this option for generating code that takes advantage of the NVIDIA® TensorRT – high performance deep learning inference optimizer and run-time library.
Dependencies
To enable this parameter, select
C++
for the Language andgrt.tlc
orert.tlc
for System target file.MKL-DNN
orARM Compute
is available when GPU acceleration on the Code Generation pane is disabled.cuDNN
orTensorRT
requires a GPU Coder™ license.cuDNN
orTensorRT
is available when GPU acceleration on the Code Generation pane is enabled.When the Target library is
MKL-DNN
, the Language standard parameter on the Code Generation pane is set toC++11 (ISO)
.
Command-Line Information
Parameter:
DLTargetLibrary |
Type: character vector |
Value:
'None' | 'MKL-DNN' | 'ARM
Compute' | 'cuDNN' |
'TensorRT' |
Default:
'None' |