MCPcopy Create free account
hub / github.com/Tiiny-AI/PowerInfer / gguf_get_val_bool

Function gguf_get_val_bool

ggml.c:19934–19937  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

19932}
19933
19934bool gguf_get_val_bool(const struct gguf_context * ctx, int key_id) {
19935 GGML_ASSERT(ctx->kv[key_id].type == GGUF_TYPE_BOOL);
19936 return ctx->kv[key_id].value.bool_;
19937}
19938
19939const char * gguf_get_val_str(const struct gguf_context * ctx, int key_id) {
19940 GGML_ASSERT(ctx->kv[key_id].type == GGUF_TYPE_STRING);

Callers 1

clip_model_loadFunction · 0.50

Calls

no outgoing calls

Tested by

no test coverage detected