gguf : add gguf_get_kv_type
This commit is contained in:
parent
eb8ca6996f
commit
e3a4960953
3 changed files with 25 additions and 7 deletions
2
ggml.c
2
ggml.c
|
@ -19031,7 +19031,7 @@ const char * gguf_get_key(struct gguf_context * ctx, int i) {
|
|||
return ctx->header.kv[i].key.data;
|
||||
}
|
||||
|
||||
const enum gguf_type gguf_get_kv_type(struct gguf_context * ctx, int i) {
|
||||
enum gguf_type gguf_get_kv_type(struct gguf_context * ctx, int i) {
|
||||
return ctx->header.kv[i].type;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue