class
OnnxRuntime::ModelMetadata
- OnnxRuntime::ModelMetadata
- Reference
- Object
Overview
ModelMetadata class provides access to ONNX model metadata.
Defined in:
onnxruntime/model_metadata.crClass Method Summary
-
.from_session(session : InferenceSession)
Creates a new ModelMetadata instance from a session.
Instance Method Summary
- #custom_metadata_map : Hash(String, String)
- #description : String
- #domain : String
- #graph_description : String
- #graph_name : String
- #producer_name : String
- #version : Int64
Class Method Detail
def self.from_session(session : InferenceSession)
#
Creates a new ModelMetadata instance from a session.