Table of Contents

Interface IOnnxModelMetadata

Namespace
AiDotNet.Interfaces
Assembly
AiDotNet.dll

Metadata about an ONNX model including inputs, outputs, and opset version.

public interface IOnnxModelMetadata

Properties

Description

Gets the model description if available.

string? Description { get; }

Property Value

string

Inputs

Gets information about all input tensors.

IReadOnlyList<IOnnxTensorInfo> Inputs { get; }

Property Value

IReadOnlyList<IOnnxTensorInfo>

ModelName

Gets the model name from the ONNX file.

string ModelName { get; }

Property Value

string

OpsetVersion

Gets the ONNX opset version used by this model.

long OpsetVersion { get; }

Property Value

long

Outputs

Gets information about all output tensors.

IReadOnlyList<IOnnxTensorInfo> Outputs { get; }

Property Value

IReadOnlyList<IOnnxTensorInfo>

ProducerName

Gets the producer name (e.g., "pytorch", "tensorflow").

string? ProducerName { get; }

Property Value

string

ProducerVersion

Gets the producer version.

string? ProducerVersion { get; }

Property Value

string