coder.getDeepLearningLayers
Get the list of layers supported for code generation for a specific deep learning library
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 usecoder.getDeepLearningLayers
, you must install the support package that corresponds tolibraryname
:
For
'none'
,'arm-compute'
,'cmsis-nn'
, and'mkldnn'
, installMATLAB®Coder™ Interface for Deep Learning Libraries.For
'cudnn'
,'tensorrt'
, or'arm-compute-mali'
, installGPU Coder™ Interface for Deep Learning Libraries.
Note
Thecoder.getDeepLearningLayers
function does not list certain custom layers if the associated support packages are not installed. For example,keras
层没有列出如果Deep Learning Toolbox™ Converter for TensorFlow™ Modelssupport package is not installed.
Examples
Input Arguments
Version History
See Also
Functions
Topics
- Installing Prerequisite Products
- Prerequisites for Deep Learning with MATLAB Coder
- Supported Networks, Layers, and Classes
- 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
- Code Generation for Deep Learning Networks by Using TensorRT
- Code Generation for Deep Learning Networks Targeting ARM Mali GPUs