| 19937 | } |
| 19938 | |
| 19939 | const char * gguf_get_val_str(const struct gguf_context * ctx, int key_id) { |
| 19940 | GGML_ASSERT(ctx->kv[key_id].type == GGUF_TYPE_STRING); |
| 19941 | return ctx->kv[key_id].value.str.data; |
| 19942 | } |
| 19943 | |
| 19944 | int gguf_get_n_tensors(const struct gguf_context * ctx) { |
| 19945 | return ctx->header.n_tensors; |
no outgoing calls
no test coverage detected