OnnxExportOptions

Options & Configuration · AiDotNet.Onnx

Optional configuration for ONNX export. Defaults are chosen so a caller can pass null and get a working file for the most common case (float32 inputs, recent opset, broadly compatible with downstream runtimes including Databricks / Spark).

Constructors

Constructor Summary
OnnxExportOptions()

Properties

Property Summary
IReadOnlyList<string> InputNames { get; set; } Names to assign to input tensors.
IReadOnlyList<string> OutputNames { get; set; } Names to assign to output tensors.
int OpsetVersion { get; set; } ONNX opset version to target.
string ModelDescription { get; set; } Human-readable description written into the .onnx file’s metadata.
string ProducerName { get; set; } Producer name written into the .onnx file’s metadata.
string ProducerVersion { get; set; } Producer version written into the .onnx file’s metadata.