Class OnnxModelMetadata
Metadata about a loaded ONNX model.
public class OnnxModelMetadata : IOnnxModelMetadata
- Inheritance
-
OnnxModelMetadata
- Implements
- Inherited Members
Properties
CustomMetadata
Gets the custom metadata as key-value pairs.
public IReadOnlyDictionary<string, string> CustomMetadata { get; init; }
Property Value
Description
Gets the model description if available.
public string? Description { get; init; }
Property Value
Domain
Gets the domain from the model.
public string? Domain { get; init; }
Property Value
GraphName
Gets the graph name from the model.
public string? GraphName { get; init; }
Property Value
Inputs
Gets information about all input tensors.
public IReadOnlyList<IOnnxTensorInfo> Inputs { get; init; }
Property Value
ModelName
Gets the model name from the ONNX file.
public string ModelName { get; init; }
Property Value
OpsetVersion
Gets the ONNX opset version used by this model.
public long OpsetVersion { get; init; }
Property Value
Outputs
Gets information about all output tensors.
public IReadOnlyList<IOnnxTensorInfo> Outputs { get; init; }
Property Value
ProducerName
Gets the producer name (e.g., "pytorch", "tensorflow").
public string? ProducerName { get; init; }
Property Value
ProducerVersion
Gets the producer version.
public string? ProducerVersion { get; init; }