struct

GS::MASt3R::TensorInfo

Inherits Struct < Value < Object

Tensor metadata from safetensors header

Constructors

new(name : String, dtype : String, shape : Array(Int64), data_start : Int64, data_end : Int64)
Source

Instance methods

byte_size
Source
data_end
Source
data_end=(data_end : Int64)
Source
data_start
Source
data_start=(data_start : Int64)
Source
dtype
Source
dtype=(dtype : String)
Source
name
Source
name=(name : String)
Source
numel
Source
shape
Source
shape=(shape : Array(Int64))
Source