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

Function gguf_set_val_u16

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

Source from the content-addressed store, hash-verified

987}
988
989void gguf_set_val_u16(struct gguf_context * ctx, const char * key, uint16_t val) {
990 gguf_check_reserved_keys(key, val);
991 gguf_remove_key(ctx, key);
992 ctx->kv.emplace_back(key, val);
993}
994
995void gguf_set_val_i16(struct gguf_context * ctx, const char * key, int16_t val) {
996 gguf_check_reserved_keys(key, val);

Callers 5

split_strategyMethod · 0.85
gguf_mergeFunction · 0.85
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