coder.getDeepLearningLayers
Get the list of layers supported for code generation for a specific deep learning library
coder.getDeepLearningLayers
is not recommended. Use analyzeNetworkForCodegen
instead. For more information, see Version History.
Description
coder.getDeepLearningLayers
returns the layers supported for code
generation that do not use any third-party libraries.
coder.getDeepLearningLayers(TargetLibrary =
returns the layers supported for code generation for a specific deep learning
library.libraryname
)
Note
To use coder.getDeepLearningLayers
, you must install the
support package that corresponds to libraryname
:
For
'none'
,'arm-compute'
,'cmsis-nn'
, and'mkldnn'
, install MATLAB® Coder™ Interface for Deep Learning.For
'cudnn'
,'tensorrt'
, or'arm-compute-mali'
, install GPU Coder™ Interface for Deep Learning.
Note
The coder.getDeepLearningLayers
function does not list certain
custom layers if the associated support packages are not installed. For example,
keras
layers are not listed if the Deep Learning Toolbox™ Converter for TensorFlow™ Models support package is not installed.
Examples
Input Arguments
Version History
Introduced in R2018bSee Also
Functions
Topics
- Installing Prerequisite Products (GPU Coder)
- Prerequisites for Deep Learning with MATLAB Coder
- Supported Networks, Layers, and Classes (GPU Coder)
- Networks and Layers Supported for Code Generation
- Code Generation for Deep Learning Networks with MKL-DNN
- Code Generation for Deep Learning Networks with ARM Compute Library
- Generate Generic C/C++ Code for Deep Learning Networks
- Code Generation for Deep Learning Networks by Using cuDNN (GPU Coder)
- Code Generation for Deep Learning Networks by Using TensorRT (GPU Coder)