MATLAB에서 PyTorch 및 LiteRT 모델에 대한 코드 생성
MATLAB® 코드로부터 범용 C, C++ 및 기본 CUDA 코드 생성
R2026a 이후
R2026a 이후
PyTorch® ExportedProgram 또는 LiteRT 모델을 MATLAB에 불러와 범용 C/C++ 코드를 생성할 수 있습니다.
GPU Coder™ 라이선스가 있는 경우 CUDA® 코드도 생성할 수 있습니다.
함수
loadLiteRTModel | Load pretrained LiteRT model file |
loadPyTorchExportedProgram | Load PyTorch ExportedProgram model file |
summary | Display input and output specifications of PyTorch ExportedProgram or LiteRT model |
inputSpecifications | Return input specifications for functions in PyTorch ExportedProgam or LiteRT model |
outputSpecifications | Return output specifications for functions in PyTorch ExportedProgram or LiteRT model |
invoke | Run inference on a PyTorch ExportedProgram or LiteRT model input to compute output |
객체
PyTorchExportedProgram | PyTorch ExportedProgram model |
LiteRTModel | LiteRT model |


