Show / Hide Table of Contents

Class ModelMetadata

A class that queries and caches model metadata and exposes it as properties

Inheritance
Object
ModelMetadata
Inherited Members
Object.Equals(Object)
Object.Equals(Object, Object)
Object.GetHashCode()
Object.GetType()
Object.MemberwiseClone()
Object.ReferenceEquals(Object, Object)
Object.ToString()
Namespace: Microsoft.ML.OnnxRuntime
Assembly: Microsoft.ML.OnnxRuntime.dll
Syntax
public class ModelMetadata

Properties

| Improve this Doc View Source

CustomMetadataMap

Custom metadata key/value pairs

Declaration
public Dictionary<string, string> CustomMetadataMap { get; }
Property Value
Type Description
Dictionary<String, String>

An instance of a Dictionary{string,string}

| Improve this Doc View Source

Description

Unstructured model description

Declaration
public string Description { get; }
Property Value
Type Description
String

description string

| Improve this Doc View Source

Domain

Domain for this model

Declaration
public string Domain { get; }
Property Value
Type Description
String

domain name string

| Improve this Doc View Source

GraphDescription

Unstructured graph description

Declaration
public string GraphDescription { get; }
Property Value
Type Description
String

description string

| Improve this Doc View Source

GraphName

Graph name for this model

Declaration
public string GraphName { get; }
Property Value
Type Description
String

graph name string

| Improve this Doc View Source

ProducerName

Producer name string

Declaration
public string ProducerName { get; }
Property Value
Type Description
String

producer name string

| Improve this Doc View Source

Version

Version number

Declaration
public long Version { get; }
Property Value
Type Description
Int64

long version integer

  • Improve this Doc
  • View Source
In This Article
Back to top