TQ1_0

Properties

Link copied to clipboard

elements per quantization block (1 for plain scalar types).

Link copied to clipboard
val id: Int

the numeric ggml_type value stored in GGUF tensor infos and Whisper tensor headers.

Link copied to clipboard

Whether this is a block-quantized type (as opposed to a plain float/int type).

Link copied to clipboard
expect val name: String
Link copied to clipboard
expect val ordinal: Int
Link copied to clipboard

bytes per block.

Functions

Link copied to clipboard
fun byteSize(elementCount: Long): Long

Bytes needed for elementCount elements of this type.