MCPcopy Create free account
hub / github.com/antirez/llama.cpp-deepseek-v4-flash / common_ggml_ne_string

Function common_ggml_ne_string

common/debug.cpp:9–18  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

7#include <string>
8
9static std::string common_ggml_ne_string(const ggml_tensor * t) {
10 std::string str;
11 for (int i = 0; i < GGML_MAX_DIMS; ++i) {
12 str += std::to_string(t->ne[i]);
13 if (i + 1 < GGML_MAX_DIMS) {
14 str += ", ";
15 }
16 }
17 return str;
18}
19
20static float common_ggml_get_float_value(const uint8_t * data,
21 ggml_type type,

Callers 1

common_debug_cb_evalFunction · 0.85

Calls 1

to_stringFunction · 0.50

Tested by

no test coverage detected