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

Function gguf_get_val_str

ggml.c:19939–19942  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

19937}
19938
19939const char * gguf_get_val_str(const struct gguf_context * ctx, int key_id) {
19940 GGML_ASSERT(ctx->kv[key_id].type == GGUF_TYPE_STRING);
19941 return ctx->kv[key_id].value.str.data;
19942}
19943
19944int gguf_get_n_tensors(const struct gguf_context * ctx) {
19945 return ctx->header.n_tensors;

Callers 3

clip_model_loadFunction · 0.50
load_vocabFunction · 0.50
gguf_ex_read_0Function · 0.50

Calls

no outgoing calls

Tested by

no test coverage detected