| ggml_type_sizef | R Documentation |
Returns the size in bytes of a GGML type as a floating-point number. For quantized types, this is the average bytes per element.
ggml_type_sizef(type)
type |
GGML type constant |
Numeric size in bytes (can be fractional for quantized types)
Other type_system:
ggml_blck_size(),
ggml_ftype_to_ggml_type(),
ggml_is_quantized(),
ggml_type_name()
ggml_type_sizef(GGML_TYPE_F32) # 4.0
ggml_type_sizef(GGML_TYPE_F16) # 2.0
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.