主要内容

Deep Learning Import and Export

将网络从和导出网络导入到外部深度学习平台

导入网络和网络体系结构从Tensorflow™-Keras,Tensorflow 2,ONNX™(开放神经网络交换)模型格式和CAFFE。您还可以将经过训练的深度学习Toolbox™网络导出到ONNX模型格式。有关更多信息,请参阅预处理的深神经网络.

You must have support packages to run the import and export functions in Deep Learning Toolbox. If the support package is not installed, each function provides a download link to the corresponding support package in the Add-On Explorer. A recommended practice is to download the support package to the default location for the version of MATLAB®you are running. You can also directly download the support packages from the following links.

Functions

expand all

TensorFlowImport

ImportTensorFlownetwork Import pretrainedTensorFlow网络
ImportTensorFlowlayers Import layers fromTensorFlow网络
ImportKerasnetwork Import pretrained Keras network and weights
ImportKeraslayers Import layers from Keras network

caffe进口

importCaffeNetwork Import pretrained convolutional neural network models from Caffe
importCaffeLayers Import convolutional neural network layers from Caffe

onnxImport

importONNXNetwork Import pretrainedonnx网络
ExpientOnnXlayers Import layers fromonnx网络
importONNXFunction 导入预估计的ONNX网络作为功能

Parameters Imported byimportONNXFunction

onnxParameters 导入的参数onnx网络for deep learning
freezeParameters Convert learnable network parameters inonnxParametersto nonlearnable
unfreezeParameters 转换非可检测网络参数onnxParameters可以学习
addParameter Add parameter toonnxParametersobject
删除参数 Remove parameter fromonnxParametersobject
functionLayer 功能层
Findplaceholderlayers Find placeholder layers in network architecture imported from Keras oronnx
replaceLayer Replace layer in layer graph
汇编工作 Assemble deep learning network from pretrained layers
占位符 Layer replacing an unsupported Keras oronnx层或不支持的功能金宝appfunctionToLayerGraph
addLayers Add layers to layer graph
removeLayers 从图层中删除图层
exportONNXNetwork Export network toonnx模型格式

Topics