MCPcopy Create free account
hub / github.com/Tiiny-AI/PowerInfer / gguf_get_arr_data

Function gguf_get_arr_data

ggml.c:19867–19870  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

19865}
19866
19867const void * gguf_get_arr_data(const struct gguf_context * ctx, int key_id) {
19868 GGML_ASSERT(ctx->kv[key_id].type == GGUF_TYPE_ARRAY);
19869 return ctx->kv[key_id].value.arr.data;
19870}
19871
19872const char * gguf_get_arr_str(const struct gguf_context * ctx, int key_id, int i) {
19873 GGML_ASSERT(ctx->kv[key_id].type == GGUF_TYPE_ARRAY);

Callers 4

llm_load_vocabFunction · 0.70
clip_model_loadFunction · 0.50
save_llama_model_ggufFunction · 0.50
load_vocabFunction · 0.50

Calls

no outgoing calls

Tested by

no test coverage detected