PyTorchExportedProgram
R2026b説明
Add-On Required: この機能には MATLAB Coder Support Package for PyTorch and LiteRT Models アドオンが必要です。
PyTorchExportedProgram オブジェクトを使用して、MATLAB® や Simulink® でモデルを実行したりコードを生成したりできます。
作成
loadPyTorchExportedProgram 関数を使用して PyTorchExportedProgram オブジェクトを作成します。
プロパティ
オブジェクト関数
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 で導入