class

OnnxRuntime::TensorInfo

Inherits Reference / Object

Represents metadata for a tensor (name, type, shape).

Constructors

new(name : String, type : OnnxRuntime::LibOnnxRuntime::TensorElementDataType, shape : Array(Int64))
Source

Class methods

from_type_info(name : String, type_info : Pointer(LibOnnxRuntime::OrtTypeInfo), session)

Create a TensorInfo from OrtTypeInfo

Source

Instance methods

name
Source
shape
Source
type
Source