Learn R Programming

ggmlR (version 0.6.1)

ggml_is_quantized: Check If Type is Quantized

Description

Returns TRUE if the GGML type is a quantized format.

Usage

ggml_is_quantized(type)

Value

Logical indicating if type is quantized

Arguments

type

GGML type constant

See Also

Other type_system: ggml_blck_size(), ggml_ftype_to_ggml_type(), ggml_type_name(), ggml_type_sizef()

Examples

Run this code
ggml_is_quantized(GGML_TYPE_F32)  # FALSE
ggml_is_quantized(GGML_TYPE_Q4_0) # TRUE

Run the code above in your browser using DataLab