MCPcopy Create free account
hub / github.com/appdevforall/CodeOnTheGo / ggml_get_data_f32

Function ggml_get_data_f32

subprojects/llama.cpp/ggml/src/ggml.c:1824–1827  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1822}
1823
1824float * ggml_get_data_f32(const struct ggml_tensor * tensor) {
1825 assert(tensor->type == GGML_TYPE_F32);
1826 return (float *)(tensor->data);
1827}
1828
1829enum ggml_unary_op ggml_get_unary_op(const struct ggml_tensor * tensor) {
1830 GGML_ASSERT(tensor->op == GGML_OP_UNARY);

Callers 6

test_roundtrip_on_chunkFunction · 0.85
helper_get_ctx_dataFunction · 0.85
test_regressionFunction · 0.85
ggml_opt_evalFunction · 0.85

Calls

no outgoing calls

Tested by 3

test_roundtrip_on_chunkFunction · 0.68
helper_get_ctx_dataFunction · 0.68
test_regressionFunction · 0.68