MCPcopy Create free account
hub / github.com/0xShug0/audio.cpp / bf16_bytes

Function bf16_bytes

src/framework/assets/tensor_source.cpp:91–97  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

89 if (normalized == "i16" || normalized == "int16") return GGML_TYPE_I16;
90 if (normalized == "i32" || normalized == "int32") return GGML_TYPE_I32;
91 if (normalized == "i64" || normalized == "int64") return GGML_TYPE_I64;
92 if (normalized == "q4_0") return GGML_TYPE_Q4_0;
93 if (normalized == "q4_1") return GGML_TYPE_Q4_1;
94 if (normalized == "q5_0") return GGML_TYPE_Q5_0;
95 if (normalized == "q5_1") return GGML_TYPE_Q5_1;
96 if (normalized == "q8_0") return GGML_TYPE_Q8_0;
97 if (normalized == "q2_k") return GGML_TYPE_Q2_K;
98 if (normalized == "q3_k") return GGML_TYPE_Q3_K;
99 if (normalized == "q4_k") return GGML_TYPE_Q4_K;
100 if (normalized == "q5_k") return GGML_TYPE_Q5_K;

Callers 2

encode_f32_tensor_dataFunction · 0.85

Calls 3

ggml_fp32_to_bf16_rowFunction · 0.85
sizeMethod · 0.45
dataMethod · 0.45

Tested by

no test coverage detected