Microscopy Image Browser 2.91
MIB
Loading...
Searching...
No Matches
exportONNXNetwork.m File Reference

exportONNXNetwork Export network or graph of layers to ONNX model format. More...

Functions

function  exportONNXNetwork (Network, filename, varargin)
 exportONNXNetwork Export network or graph of layers to ONNX model format.
 

Detailed Description

exportONNXNetwork Export network or graph of layers to ONNX model format.

Function Documentation

◆ exportONNXNetwork()

function exportONNXNetwork ( Network,
filename,
varargin )

exportONNXNetwork Export network or graph of layers to ONNX model format.

exportONNXNetwork(net,filename) exports the trained network or graph of network layers (net) with weights to the ONNX format file specified by filename. If filename exists, then exportONNXNetwork overwrites the file.

autotoc_md22

Inputs

Network - Trained network or graph of network layers, specified as a SeriesNetwork, DAGNetwork, dlnetwork, or layerGraph.

filename - Name of file, specified as a character vector or string.

exportONNXNetwork(...,Name,Value) specifies additional name-value pairs described below

NetworkName - Name of ONNX network to store in the saved file, specified as a character vector or string. Default: Network

OpsetVersion - Version of ONNX operator set to use, specified as an integer. Supported versions are 6, 7, 8, 9. Default: 8

BatchSize - An integer batch size to export, or [] indicating variable batch size. Default: []

Referenced by mibDeepController.exportNetwork().

Here is the caller graph for this function: