mirror of
https://github.com/antirez/gguf-tools.git
synced 2025-09-16 17:48:08 +08:00
API to remap/rewind + mapping in write mode.
This commit is contained in:
@@ -159,6 +159,8 @@ typedef struct {
|
||||
/* =============================== Prototypes =============================== */
|
||||
|
||||
gguf_ctx *gguf_init(char *filename);
|
||||
int gguf_remap(gguf_ctx *ctx);
|
||||
void gguf_rewind(gguf_ctx *ctx);
|
||||
void gguf_end(gguf_ctx *ctx);
|
||||
int gguf_get_key(gguf_ctx *ctx, gguf_key *key);
|
||||
int gguf_get_tensor(gguf_ctx *ctx, gguf_tensor *tensor);
|
||||
|
Reference in New Issue
Block a user