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

Function gguf_get_tensor_offset

ggml.c:19968–19970  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

19966}
19967
19968size_t gguf_get_tensor_offset(const struct gguf_context * ctx, int i) {
19969 return ctx->infos[i].offset;
19970}
19971
19972char * gguf_get_tensor_name(const struct gguf_context * ctx, int i) {
19973 return ctx->infos[i].name.data;

Callers 5

file_offsetMethod · 0.70
export_loraFunction · 0.50
clip_model_loadFunction · 0.50
gguf_ex_read_0Function · 0.50
gguf_ex_read_1Function · 0.50

Calls

no outgoing calls

Tested by

no test coverage detected