matlab-import-external-ai-model
Installation
SKILL.md
Import Deep Learning Models into MATLAB
Import trained PyTorch, ONNX, or Keras 3 models into MATLAB as dlnetwork
objects and verify numerical correctness.
When to Use
- User wants to import a deep learning model from PyTorch, ONNX, or Keras/TensorFlow
- User has
.pt2,.pt,.onnx, or.kerasfiles to bring into MATLAB - User mentions
importNetworkFromPyTorch,importNetworkFromONNX,importNetworkFromKeras, orimportNetworkFromTensorFlow - User mentions
torch.export.export,torch.jit.trace,PyTorchInputSizes,InputDataFormats, ormatlabsaver - User encounters import errors, unsupported operator warnings, uninitialized networks, or 0 learnables after import
- User wants to validate that an imported model matches the source framework's outputs