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

Function gguf_set_val_f64

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

Source from the content-addressed store, hash-verified

1029}
1030
1031void gguf_set_val_f64(struct gguf_context * ctx, const char * key, double val) {
1032 gguf_check_reserved_keys(key, val);
1033 gguf_remove_key(ctx, key);
1034 ctx->kv.emplace_back(key, val);
1035}
1036
1037void gguf_set_val_bool(struct gguf_context * ctx, const char * key, bool val) {
1038 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