loadLiteRTModel
R2026bSyntax
Description
Add-On Required: This feature requires the MATLAB Coder Support Package for PyTorch and LiteRT Models add-on.
loads a pretrained LiteRT model file.model = loadLiteRTModel(modelFileName)
loads a pretrained LiteRT model file using the specified execution mode.model = loadLiteRTModel(modelFileName,ExecutionMode=ExecutionMode)
Examples
Input Arguments
Output Arguments
Limitations
The code generator might apply optimizations that assume the absence of NaN values, which can affect NaN propagation behavior. If model inputs contain NaN values, generated code might produce different results from the reference framework.
Extended Capabilities
Version History
Introduced in R2026a