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

Function ggml_get_data

ggml.c:3006–3008  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3004}
3005
3006void * ggml_get_data(const struct ggml_tensor * tensor) {
3007 return tensor->data;
3008}
3009
3010float * ggml_get_data_f32(const struct ggml_tensor * tensor) {
3011 assert(tensor->type == GGML_TYPE_F32);

Callers 3

llama_decode_internalFunction · 0.70
clip_image_build_graphFunction · 0.50
mainFunction · 0.50

Calls

no outgoing calls

Tested by

no test coverage detected