bymatlab· 88 skills
Import PyTorch, ONNX, or Keras 3 / TensorFlow 2.16+ deep learning models into MATLAB as dlnetwork objects. Use when importing .pt2 exported programs, traced .pt files, .onnx models, or Keras 3 models via matlabsaver. Covers importNetworkFromPyTorch, importNetworkFromONNX, importNetworkFromKeras, importNetworkFromTensorFlow, torch.export.export, PyTorchInputSizes, InputDataFormats, matlabsaver, tf_keras downgrade, numeric validation against PyTorch or ONNX Runtime, and placeholder/custom layer implementation. Applies when user mentions any of these functions, file formats, or encounters import errors, unsupported operator warnings, 0 learnables, or uninitialized networks.
$npx -y skills add matlab/matlab-agentic-toolkit --skill matlab-import-external-ai-modelInstalls into the current project.
Run `npx skills use "https://github.com/matlab/matlab-agentic-toolkit" --skill "matlab/matlab-agentic-toolkit/matlab-import-external-ai-model"` and follow the generated skill instructions now. Read its complete output, redirecting it to a temporary file first if necessary. Resolve relative paths from the supporting-files directory it provides.
Use the skills in "https://github.com/matlab/matlab-agentic-toolkit" that are relevant to the current task. Run `npx skills add "https://github.com/matlab/matlab-agentic-toolkit"` and select the relevant skills, then follow their instructions.