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

Function gguf_get_val_f32

ggml.c:19914–19917  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

19912}
19913
19914float gguf_get_val_f32(const struct gguf_context * ctx, int key_id) {
19915 GGML_ASSERT(ctx->kv[key_id].type == GGUF_TYPE_FLOAT32);
19916 return ctx->kv[key_id].value.float32;
19917}
19918
19919uint64_t gguf_get_val_u64(const struct gguf_context * ctx, int key_id) {
19920 GGML_ASSERT(ctx->kv[key_id].type == GGUF_TYPE_UINT64);

Callers 1

get_f32Function · 0.50

Calls

no outgoing calls

Tested by

no test coverage detected