class OnnxRuntime::ModelMetadata

Overview

ModelMetadata class provides access to ONNX model metadata.

Defined in:

onnxruntime/model_metadata.cr

Class Method Summary

Instance Method Summary

Class Method Detail

def self.from_session(session : InferenceSession) #

Creates a new ModelMetadata instance from a session.


[View source]

Instance Method Detail

def custom_metadata_map : Hash(String, String) #

[View source]
def description : String #

[View source]
def domain : String #

[View source]
def graph_description : String #

[View source]
def graph_name : String #

[View source]
def producer_name : String #

[View source]
def version : Int64 #

[View source]