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

Function ggml_get_data_f32

ggml.c:3010–3013  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3008}
3009
3010float * ggml_get_data_f32(const struct ggml_tensor * tensor) {
3011 assert(tensor->type == GGML_TYPE_F32);
3012 return (float *)(tensor->data);
3013}
3014
3015int32_t * ggml_get_data_i32(const struct ggml_tensor * tensor) {
3016 assert(tensor->type == GGML_TYPE_I32);

Callers 2

clip_image_batch_encodeFunction · 0.50
test_roundtrip_on_chunkFunction · 0.50

Calls

no outgoing calls

Tested by 1

test_roundtrip_on_chunkFunction · 0.40