Learn R Programming

ggmlR (version 0.6.1)

ggml_type_name: Get Type Name

Description

Returns the string name of a GGML type.

Usage

ggml_type_name(type)

Value

Character string with type name

Arguments

type

GGML type constant (e.g., GGML_TYPE_F32)

See Also

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

Examples

Run this code
ggml_type_name(GGML_TYPE_F32)  # "f32"
ggml_type_name(GGML_TYPE_Q4_0) # "q4_0"

Run the code above in your browser using DataLab