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

Function f32_bytes

src/framework/assets/tensor_source.cpp:77–81  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

75 (normalized == "q3_k" && type == GGML_TYPE_Q3_K) ||
76 (normalized == "q4_k" && type == GGML_TYPE_Q4_K) ||
77 (normalized == "q5_k" && type == GGML_TYPE_Q5_K) ||
78 (normalized == "q6_k" && type == GGML_TYPE_Q6_K) ||
79 (normalized == "q8_0" && type == GGML_TYPE_Q8_0);
80}
81
82ggml_type parse_ggml_type_for_tensor_dtype(std::string_view dtype) {
83 const std::string normalized = lower_ascii(dtype);
84 if (normalized == "f32" || normalized == "float32") return GGML_TYPE_F32;

Callers 1

encode_f32_tensor_dataFunction · 0.85

Calls 2

sizeMethod · 0.45
dataMethod · 0.45

Tested by

no test coverage detected