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 |


