OnnxRuntime::TensorInfo
Inherits Reference / Object
Represents metadata for a tensor (name, type, shape).
Constructors
new(name : String, type : OnnxRuntime::LibOnnxRuntime::TensorElementDataType, shape : Array(Int64))
SourceClass methods
from_type_info(name : String, type_info : Pointer(LibOnnxRuntime::OrtTypeInfo), session)
Create a TensorInfo from OrtTypeInfo
Instance methods
name
Sourceshape
Sourcetype
Source