OnnxExportExtensions.ConvertToOnnx(ModelOperationsCatalog, ITransformer, IDataView, Stream) OnnxExportExtensions.ConvertToOnnx(ModelOperationsCatalog, ITransformer, IDataView, Stream) Method

Definition

Convert the specified ITransformer to ONNX format and writes to a stream.

public static void ConvertToOnnx (this Microsoft.ML.ModelOperationsCatalog catalog, Microsoft.ML.ITransformer transform, Microsoft.ML.IDataView inputData, System.IO.Stream stream);
static member ConvertToOnnx : Microsoft.ML.ModelOperationsCatalog * Microsoft.ML.ITransformer * Microsoft.ML.IDataView * System.IO.Stream -> unit

Parameters

transform
ITransformer ITransformer

The ITransformer that will be converted into ONNX format.

inputData
IDataView IDataView

The input of the specified transform.

stream
Stream Stream

The stream to write the protobuf model to.

Applies to