Supported Networks, Layers, and Classes
GPU Coder™ supports code generation for series and directed acyclic graph (DAG) neural networks. This page provides a list of supported deep learning networks, layers and classes.
Note that the code generator represents characters in an 8-bit ASCII codeset that the locale setting determines. Therefore, the use of non-ASCII characters in class names, layer names, layer description, or network names might result in errors. For more information, see Encoding of Characters in Code Generation.
Supported Pretrained Networks
You can train a neural network on either a CPU, a GPU, or multiple GPUs by using the Deep Learning Toolbox™ or use one of the pretrained networks listed in the table and generate CUDA® code.
These pretrained networks are supported for code generation by GPU Coder for these target deep learning libraries.
- Support can have limitations. You might see errors and unexpected behavior. For more information, see the extended capabilities section on the reference page.
Network Name | CUDA | TensorRT | cuDNN |
---|---|---|---|
| |||
Caffe Network See | |||
| |||
| |||
| |||
| |||
| |||
| |||
| |||
| |||
| |||
| |||
| |||
| |||
| |||
| |||
| |||
| |||
| |||
| |||
| |||
|
Supported Layers
These layers are supported for code generation by GPU Coder for these target deep learning libraries.
Input Layers
Layer Name | CUDA | TensorRT | cuDNN |
---|---|---|---|
| |||
| |||
|
Convolution and Fully Connected Layers
Layer Name | CUDA | TensorRT | cuDNN |
---|---|---|---|
| |||
| |||
| |||
| |||
|
Sequence Layers
Layer Name | CUDA | TensorRT | cuDNN |
---|---|---|---|
| |||
| |||
| |||
| |||
| |||
|
Activation Layers
Layer Name | CUDA | TensorRT | cuDNN |
---|---|---|---|
| |||
| |||
| |||
| |||
| |||
| |||
| |||
|
Normalization, Dropout, and Cropping Layers
Layer Name | CUDA | TensorRT | cuDNN |
---|---|---|---|
| |||
| |||
| |||
| |||
| |||
| |||
|
Pooling and Unpooling Layers
Layer Name | CUDA | TensorRT | cuDNN |
---|---|---|---|
| |||
| |||
| |||
| |||
| |||
| |||
| |||
| |||
|
Combination Layers
Layer Name | CUDA | TensorRT | cuDNN |
---|---|---|---|
| |||
| |||
|
Transformer Layers
Layer Name | CUDA | TensorRT | cuDNN |
---|---|---|---|
| |||
| |||
| |||
| |||
| |||
|
Object Detection Layers
Layer Name | CUDA | TensorRT | cuDNN |
---|---|---|---|
| |||
| |||
| |||
| |||
| |||
rpnClassificationLayer (Computer Vision Toolbox) | |||
|
Output Layers
Layer Name | CUDA | TensorRT | cuDNN |
---|---|---|---|
| |||
| |||
| |||
rpnClassificationLayer (Computer Vision Toolbox) | |||
| |||
| |||
|
Custom Keras Layers
Layer Name | CUDA | TensorRT | cuDNN |
---|---|---|---|
| |||
| |||
| |||
| |||
| |||
| |||
| |||
|
Custom ONNX Layers
Layer Name | CUDA | TensorRT | cuDNN |
---|---|---|---|
| |||
| |||
| |||
| |||
| |||
| |||
| |||
| |||
| |||
|
Custom Layers
Layer Name | CUDA | TensorRT | cuDNN |
---|---|---|---|
|
Supported Classes
These classes are supported for code generation by GPU Coder for these target deep learning libraries.
Name | CUDA | TensorRT | cuDNN |
---|---|---|---|
| |||
| |||
| |||
| |||
| |||
| |||
| |||
| |||
|
See Also
Functions
Objects
coder.gpuConfig
|coder.CodeConfig
|coder.EmbeddedCodeConfig
|coder.gpuEnvConfig
|coder.CuDNNConfig
|coder.TensorRTConfig
Related Topics
- Pretrained Deep Neural Networks (Deep Learning Toolbox)
- Get Started with Transfer Learning (Deep Learning Toolbox)
- Create Simple Deep Learning Neural Network for Classification (Deep Learning Toolbox)
- Load Pretrained Networks for Code Generation
- Code Generation for Deep Learning Networks by Using cuDNN
- Code Generation for Deep Learning Networks by Using TensorRT
- Code Generation for Deep Learning Networks Targeting ARM Mali GPUs