| 1011 | } |
| 1012 | |
| 1013 | void gguf_set_val_f32(struct gguf_context * ctx, const char * key, float val) { |
| 1014 | gguf_check_reserved_keys(key, val); |
| 1015 | gguf_remove_key(ctx, key); |
| 1016 | ctx->kv.emplace_back(key, val); |
| 1017 | } |
| 1018 | |
| 1019 | void gguf_set_val_u64(struct gguf_context * ctx, const char * key, uint64_t val) { |
| 1020 | gguf_check_reserved_keys(key, val); |