StreamingTensorInfo
data class StreamingTensorInfo(val name: String, val shape: List<UInt>, val tensorType: GGMLQuantizationType, val rawTypeValue: Int, val nElements: Long, val nBytes: Int, val relativeOffset: Long, var absoluteDataOffset: Long)(source)
Tensor metadata for streaming access.
Contains all information needed to describe a tensor without loading its actual data. The absoluteDataOffset can be used to load tensor data on demand.
Properties
Link copied to clipboard
Absolute byte offset in file (set after parsing)
Link copied to clipboard
Whether this tensor uses an unknown/unsupported quantization type
Link copied to clipboard
Raw type value from file (useful when tensorType is UNKNOWN)
Link copied to clipboard
Offset relative to data section start
Link copied to clipboard
GGML quantization type (may be UNKNOWN for unsupported types)