MCPcopy Create free account
hub / github.com/appdevforall/CodeOnTheGo / gguf_set_val_i16

Function gguf_set_val_i16

subprojects/llama.cpp/ggml/src/gguf.cpp:995–999  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

993}
994
995void gguf_set_val_i16(struct gguf_context * ctx, const char * key, int16_t val) {
996 gguf_check_reserved_keys(key, val);
997 gguf_remove_key(ctx, key);
998 ctx->kv.emplace_back(key, val);
999}
1000
1001void gguf_set_val_u32(struct gguf_context * ctx, const char * key, uint32_t val) {
1002 gguf_check_reserved_keys(key, val);

Callers 2

get_random_gguf_contextFunction · 0.85
gguf_set_kvFunction · 0.85

Calls 2

gguf_check_reserved_keysFunction · 0.85
gguf_remove_keyFunction · 0.85

Tested by 1

get_random_gguf_contextFunction · 0.68