| ggml_blck_size | R Documentation |
Returns the block size for a GGML type. Quantized types process data in blocks (e.g., 32 elements for Q4_0).
ggml_blck_size(type)
type |
GGML type constant |
Integer block size
Other type_system:
ggml_ftype_to_ggml_type(),
ggml_is_quantized(),
ggml_type_name(),
ggml_type_sizef()
ggml_blck_size(GGML_TYPE_F32) # 1
ggml_blck_size(GGML_TYPE_Q4_0) # 32
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.