MCPcopy Create free account
hub / github.com/0xShug0/audio.cpp / gguf_get_tensor_offset

Function gguf_get_tensor_offset

external/ggml/src/gguf.cpp:1043–1046  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1041 if (strcmp(name, gguf_get_tensor_name(ctx, i)) == 0) {
1042 tensor_id = i;
1043 break;
1044 }
1045 }
1046
1047 return tensor_id;
1048}
1049

Callers 2

load_from_ggufFunction · 0.85
magika_model_loadFunction · 0.85

Calls 1

gguf_get_n_tensorsFunction · 0.85

Tested by

no test coverage detected