주요 콘텐츠

딥러닝 코드 생성 기본 사항

딥러닝 신경망을 위한 코드를 생성하는 데 사용할 수 있는 함수, 객체, 워크플로

GPU Coder™를 Deep Learning Toolbox™와 함께 사용하여 코드를 생성하고 NVIDIA® 또는 ARM® GPU 프로세서를 사용하는 여러 임베디드 플랫폼에 CNN을 배포할 수 있습니다. Deep Learning Toolbox는 심층 신경망의 계층을 만들고 상호 연결하는 간단한 MATLAB® 명령을 제공합니다. 사전 훈련된 신경망과 영상 인식, 운전자 보조 응용 사례와 같은 다양한 예제가 제공되기 때문에 신경망, 딥러닝 또는 고급 컴퓨터 비전 알고리즘에 대한 전문 지식이 없어도 GPU Coder를 딥러닝에 사용할 수 있습니다.

모두 확장

GPU CoderMATLAB 코드에서 CUDA 코드 생성
GPU 환경 검사GPU 코드 생성 환경에 대한 확인과 설정

함수

모두 확장

codegenMATLAB 코드에서 C/C++ 코드 생성
cnncodegenGenerate code for a deep learning network to target the ARM Mali GPU
coder.loadDeepLearningNetworkLoad deep learning network model
coder.DeepLearningConfigCreate deep learning code generation configuration objects
analyzeNetworkForCodegenAnalyze deep learning network for code generation (R2022b 이후)
coder.ai.enableParameterUpdateEnables run-time update of network parameters (R2025a 이후)
coder.regenerateDeepLearningParametersRegenerate files containing network learnables and states parameters (R2021b 이후)
gpucoder.installTensorRTInstall NVIDIA TensorRT library in MATLAB (R2025a 이후)

객체

모두 확장

coder.CuDNNConfigParameters to configure deep learning code generation with the CUDA Deep Neural Network library
coder.TensorRTConfigParameters to configure deep learning code generation with the NVIDIA TensorRT library
coder.gpuConfigConfiguration parameters for CUDA code generation from MATLAB code by using GPU Coder
coder.gpuEnvConfigConfiguration object for checking the GPU code generation environment

코드 구성 파라미터

모두 확장

딥러닝 타깃 라이브러리Target library for deep learning code generation
자동 조정 사용Enable auto tuning
데이터형(cuDNN)Inference computation precision
보정 결과 파일 경로(cuDNN)Location of calibration MAT-file
데이터형(TensorRT)Inference computation precision
보정 데이터 경로Image dataset location
보정 배치 개수Number of calibration batches

기본 사항

Code Generation Overview

Overview of CUDA® code generation workflow for convolutional neural networks.

Load Pretrained Networks for Code Generation

Create a dlnetwork object, or an object detector for code generation.

지원되는 신경망, 계층 및 클래스

코드 생성에 지원되는 신경망, 계층 및 클래스.

Analyze Network for Code Generation

Check code generation compatibility of a deep learning network.

Code Generation for dlarray

Use deep learning arrays in MATLAB code intended for code generation.

dlarray Limitations for Code Generation

Adhere to code generation limitations for deep learning arrays.

Analyze Performance of Code Generated for Deep Learning Networks

Analyze the performance of the generated CUDA code for deep learning networks.

도움말 항목

추천 예제