Skip to main content

Module tensor

Module tensor 

Source

Structs§

DataSpan
A byte range within one object; offsets are independent of tensor encoding.
ObjectId
Identifies an object within an opened checkpoint. It is not a filename or a content digest; a store can assign content identities while copying it.
StoredTensor
Byte strides also describe interleaved records without introducing a table-specific layout or treating packed 4-bit values as addressable bytes.
Tensor
A logical tensor and the physical storage used to represent its values.
TensorId
Index of a tensor in its containing inventory or model description.
TensorType
Logical values are distinct from the physical types used to encode them.

Enums§

AffineOffset
Per-group offset used to reconstruct affine-quantized values.
BitPacking
Placement of quantized codes within addressable storage words.
Dtype
Scalar types supported by physical tensor views.
GgmlEncoding
Recognized GGML element and block encodings; unknown numeric codes are preserved.
TensorEncoding
Storage layout and quantization metadata, with explicit references to all data.
TensorRole
An architecture-assigned tensor role, independent of its checkpoint name.

Functions§

check_span 🔒