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

Function gguf_set_val_u8

external/ggml/src/gguf.cpp:1083–1087  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1081}
1082
1083void gguf_set_val_u8(struct gguf_context * ctx, const char * key, uint8_t val) {
1084 gguf_check_reserved_keys(key, val);
1085 gguf_remove_key(ctx, key);
1086 ctx->kv.emplace_back(key, val);
1087}
1088
1089void gguf_set_val_i8(struct gguf_context * ctx, const char * key, int8_t val) {
1090 gguf_check_reserved_keys(key, val);

Callers 1

gguf_set_kvFunction · 0.85

Calls 2

gguf_check_reserved_keysFunction · 0.85
gguf_remove_keyFunction · 0.85

Tested by

no test coverage detected