Table of Contents

Class GgufTensorInfo

Namespace
LMKit.Model.Gguf
Assembly
LM-Kit.NET.dll

Describes one entry of a GGUF tensor-info table: the tensor name, its shape, the raw ggml storage type id, and the byte offset of its data within the tensor-data section. Instances are produced by GgufMetadata; the tensor weights themselves are never read.

public sealed class GgufTensorInfo
Inheritance
GgufTensorInfo
Inherited Members

Properties

Dimensions

Gets the tensor dimensions (element counts per axis), in the order stored by the file.

GgmlType

Gets the raw ggml type id describing how the tensor data is stored (for example quantized block formats or plain floating point).

Name

Gets the tensor name, as stored in the file (for example blk.0.attn_q.weight).

Offset

Gets the byte offset of the tensor data, relative to the start of the tensor-data section of the file.

Share