主要内容

Deep Learning Code Generation

Generate C/C++, CUDA®, or HDL code and deploy deep learning networks

Generate code for pretrained deep neural networks. You can accelerate the simulation of your algorithms in MATLAB®要么Simulink®by using different execution environments. By using support packages, you can also generate and deploy C/C++, CUDA, and HDL code on target hardware.

采用深度学习工具箱™ together with the深度学习工具箱Model Quantization Librarysupport package to reduce the memory footprint and computational requirements of a deep neural network by quantizing the weights, biases, and activations of layers to reduced precision scaled integer data types. You can then generate C/C++, CUDA, or HDL code from these quantized networks.

采用MATLAB Coder™要么Simulink Codertogether with Deep Learning Toolbox to generate MEX or standalone CPU code that runs on desktop or embedded targets. You can deploy the generated standalone code that uses the Intel®MKL-DNN library or the ARM®Compute library. Alternatively, you can generate generic CPU code that does not call third-party library functions.

使用GPU编码器™与Deep Learing Toolbox一起生成在桌面或嵌入目标上运行的CUDA MEX或独立的CUDA代码。您可以部署生成的独立CUDA代码,该代码使用CUDA深神经网络库(CUDNN),TensorRT™高性能推理库或MALI GPU的ARM计算库。

使用Deep Learning HDL Toolbox™与Deep Learing Toolbox一起生成预磨损网络的HDL代码。您可以在英特尔和Xilinx上部署生成的HDL代码®FPGA and SoC devices.

Workflow diagram for code generation from deep neural networks.

Related Information

Featured Examples