Import networks and network architectures from TensorFlow™-Keras, TensorFlow 2, Caffe, and the ONNX™ (Open Neural Network Exchange) model format. You can also export a trained Deep Learning Toolbox™ network to the ONNX model format.
Assemble Network from Pretrained Keras Layers
This example shows how to import the layers from a pretrained Keras network, replace the unsupported layers with custom layers, and assemble the layers into a network ready for prediction.
Deploy Imported Network with MATLAB Compiler
Import Keras and ONNX pretrained networks and deploy the networks using MATLAB® Compiler™.
Select Function to Import ONNX Pretrained Network
Import an ONNX pretrained network using importONNXNetwork
,
importONNXLayers
, or
importONNXFunction
.