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

Function gguf_get_val_u32

ggml.c:19904–19907  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

19902}
19903
19904uint32_t gguf_get_val_u32(const struct gguf_context * ctx, int key_id) {
19905 GGML_ASSERT(ctx->kv[key_id].type == GGUF_TYPE_UINT32);
19906 return ctx->kv[key_id].value.uint32;
19907}
19908
19909int32_t gguf_get_val_i32(const struct gguf_context * ctx, int key_id) {
19910 GGML_ASSERT(ctx->kv[key_id].type == GGUF_TYPE_INT32);

Callers 3

gguf_init_from_fileFunction · 0.70
llama_model_loaderMethod · 0.70
get_u32Function · 0.50

Calls

no outgoing calls

Tested by

no test coverage detected