MATLAB Coder Interface for Deep Learning
Use MATLAB Coder to generate C and C++ code for deep learning networks
4K Descargas
Actualizado
11 sep 2024
MATLAB Coder generates C and C++ code from MATLAB code for a variety of hardware platforms, from desktop systems to embedded hardware. It supports most of the MATLAB language and a wide range of toolboxes, and you can deploy a variety of pretrained deep learning networks such as YOLOv2, ResNet-50, SqueezeNet, and MobileNet from Deep Learning Toolbox. You can generate optimized code for pre-processing and post-processing along with your trained deep learning networks to deploy complete applications.
With MATLAB Coder or Simulink Coder, MATLAB Coder Interface for Deep Learning provides the ability to generate plain (library-free) C/C++ code for deep learning networks. Additionally, it provides the option to generate code that calls into the following target-specific, optimized libraries:
- Intel oneAPI Deep Neural Network Library (oneDNN, formerly MKL-DNN): For Intel CPUs that support AVX2
- ARM Compute Library: For ARM Cortex-A processors that support NEON instructions
When used in Simulink with Deep Learning Toolbox and without MATLAB Coder or Simulink Coder, you can accelerate simulations of Simulink models that include deep learning blocks using the Intel oneDNN optimization library.
For more information on building supported optimization libraries, please see these links:
- MATLAB Coder: How do I build the Intel MKL-DNN library for Deep Learning C++ code generation and deployment?
- MATLAB Coder: How do I build the ARM Compute Library for Deep Learning C++ code generation and deployment?
To learn more about the recommended settings for optimizing the inference perfomance of plain, library-free C/C++ code generated from deep learning networks, please see the below link:
- How can I optimize the performance of library-free C/C++ code generated from deep learning networks?
This support package is functional for R2018b and beyond.
If you have download or installation problems, please contact Technical Support - https://www.mathworks.com/support/contact_us.html
Compatibilidad con la versión de MATLAB
Se creó con
R2018b
Compatible con cualquier versión desde R2018b hasta R2024b
Compatibilidad con las plataformas
Windows macOS (Apple Silicon) macOS (Intel) LinuxCategorías
- AI and Statistics > Deep Learning Toolbox >
- Code Generation > MATLAB Coder > Deep Learning with MATLAB Coder >
Más información sobre Deep Learning Toolbox en Help Center y MATLAB Answers.
Etiquetas
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Descubra Live Editor
Cree scripts con código, salida y texto formateado en un documento ejecutable.