LiteRTModel
R2026b설명
Add-On Required: 이 기능을 사용하려면 MATLAB Coder Support Package for PyTorch and LiteRT Models 애드온이 필요합니다.
LiteRTModel 객체를 사용하여 MATLAB® 또는 Simulink®에서 모델을 실행하거나 코드를 생성할 수 있습니다.
생성
loadLiteRTModel 함수를 사용하여 LiteRTModel 객체를 만듭니다.
속성
객체 함수
summary | Display input and output specifications of PyTorch ExportedProgram or LiteRT model |
inputSpecifications | Return input specifications for functions in PyTorch ExportedProgram 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 |
예제
확장 기능
버전 내역
R2026a에 개발됨