Specify the target deep learning library used during code generation. To enable this
parameter, select C++
for the
Language.
Category: Simulation Target
Default:
MKL-DNN
if GPU acceleration is off.
cuDNN
if GPU acceleration is
on.
MKL-DNN
Use this option for generating code that uses the Intel® Math Kernel Library for Deep Neural Networks (Intel MKL-DNN).
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.
MKL-DNN
is available when GPU
acceleration on the Simulation Target
pane is disabled and Language is set to
C++
.
cuDNN
or TensorRT
requires a GPU Coder™ license.
cuDNN
or TensorRT
is
available when GPU acceleration on the
Simulation Target pane is enabled.
Parameter:
SimDLTargetLib |
Type: character vector |
Value:
'MKL-DNN' | 'cuDNN' |
'TensorRT' |
Default:
MKL-DNN |