Generazione di codice GPU dalle applicazioni MATLAB
Generare codice CUDA® per la distribuzione su target desktop o integrati
Utilizzare GPU Coder™ insieme a Deep Learning Toolbox™ per generare codice CUDA MEX o CUDA autonomo da eseguire su target desktop o integrati. È possibile distribuire il codice CUDA autonomo generato che utilizza la libreria di reti neurali profonde CUDA (cuDNN), la libreria di inferenza ad alte prestazioni TensorRT™ o la libreria ARM® Calcola per GPU Mali.
Funzioni
codegen | Generate C/C++ code from MATLAB code |
coder.getDeepLearningLayers | Get the list of layers supported for code generation for a specific deep learning library |
coder.loadDeepLearningNetwork | Load deep learning network model |
coder.DeepLearningConfig | Create deep learning code generation configuration objects |
App
GPU Coder | Generate GPU code from MATLAB code |
Argomenti
Panoramica
- Supported Networks, Layers, and Classes (GPU Coder)
Networks, layers, and classes supported for code generation. - Code Generation for dlarray (GPU Coder)
Use deep learning arrays in MATLAB code intended for code generation. - Code Generation for Deep Learning Networks by Using cuDNN (GPU Coder)
Generate code for pretrained convolutional neural networks by using the cuDNN library. - Code Generation for Deep Learning Networks by Using TensorRT (GPU Coder)
Generate code for pretrained convolutional neural networks by using the TensorRT library. - Update Network Parameters After Code Generation (GPU Coder)
Perform post code generation updates of deep learning network parameters.
Applicazioni
- Code Generation for a Deep Learning Simulink Model that Performs Lane and Vehicle Detection (GPU Coder)
This example shows how to develop a CUDA® application from a Simulink® model that performs lane and vehicle detection using convolutional neural networks (CNN). - Generate Digit Images on NVIDIA GPU Using Variational Autoencoder (GPU Coder)
CUDA code generation fordlnetwork
anddlarray
objects. - Code Generation for Object Detection Using YOLO v3 Deep Learning Network
This example shows how to generate CUDA® MEX for a you only look once (YOLO) v3 object detector. - Code Generation for a Deep Learning Simulink Model to Classify ECG Signals (GPU Coder)
This example demonstrates how you can use powerful signal processing techniques and Convolutional Neural Networks together to classify ECG signals. - Code Generation for Deep Learning Networks
This example shows how to perform code generation for an image classification application that uses deep learning. - Code Generation for a Sequence-to-Sequence LSTM Network
This example demonstrates how to generate CUDA® code for a long short-term memory (LSTM) network. - Deep Learning Prediction on ARM Mali GPU
This example shows how to use thecnncodegen
function to generate code for an image classification application that uses deep learning on ARM® Mali GPUs. - Deploy Signal Classifier on NVIDIA Jetson Using Wavelet Analysis and Deep Learning
Generate and deploy a CUDA executable to classify electrocardiogram signals using wavelet-derived features. - Code Generation for Object Detection by Using YOLO v2
This example shows how to generate CUDA® MEX for a you only look once (YOLO) v2 object detector. - Lane Detection Optimized with GPU Coder
This example shows how to develop a deep learning lane detection application that runs on NVIDIA® GPUs. - Deep Learning Prediction with NVIDIA TensorRT Library
This example shows how to generate code for a deep learning application by using the NVIDIA® TensorRT™ library. - Traffic Sign Detection and Recognition
This example shows how to generate CUDA® MEX code for a traffic sign detection and recognition application that uses deep learning. - Logo Recognition Network
This example shows code generation for a logo classification application that uses deep learning. - Code Generation for Denoising Deep Neural Network
This example shows how to generate CUDA® MEX from MATLAB® code and denoise grayscale images by using the denoising convolutional neural network (DnCNN [1]). - Code Generation for Semantic Segmentation Network
This example shows code generation for an image segmentation application that uses deep learning. - Train and Deploy Fully Convolutional Networks for Semantic Segmentation
This example shows how to train and deploy a fully convolutional semantic segmentation network on an NVIDIA® GPU by using GPU Coder™. - Code Generation for Semantic Segmentation Network That Uses U-net
This example shows code generation for an image segmentation application that uses deep learning. - Code Generation for Object Detection Using YOLO v4 Deep Learning
Generate standalone CUDA® executable for a you only look once (YOLO) v4 object detector with custom layers. The tiny YOLO v4 network is a lightweight version of the YOLO v4 network with fewer network layers. It uses a feature pyramid network as the neck and has two YOLO v4 detection heads. The network was trained on COCO dataset. For more information about YOLO v4 object detection network, see Getting Started with YOLO v4 and Detect objects using YOLO v4 object detector.