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

Function gguf_get_key

external/ggml/src/gguf.cpp:904–907  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

902}
903
904const char * gguf_get_key(const struct gguf_context * ctx, int64_t key_id) {
905 GGML_ASSERT(key_id >= 0 && key_id < gguf_get_n_kv(ctx));
906 return ctx->kv[key_id].get_key().c_str();
907}
908
909enum gguf_type gguf_get_kv_type(const struct gguf_context * ctx, int64_t key_id) {
910 GGML_ASSERT(key_id >= 0 && key_id < gguf_get_n_kv(ctx));

Callers 1

gguf_find_keyFunction · 0.85

Calls 1

gguf_get_n_kvFunction · 0.85

Tested by

no test coverage detected