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

Function ggml_ne_string

tools/export-lora/export-lora.cpp:39–48  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

37}
38
39static std::string ggml_ne_string(const ggml_tensor * t) {
40 std::string str;
41 for (int i = 0; i < GGML_MAX_DIMS; ++i) {
42 str += std::to_string(t->ne[i]);
43 if (i + 1 < GGML_MAX_DIMS) {
44 str += ", ";
45 }
46 }
47 return str;
48}
49
50static struct gguf_context * load_gguf(std::string & fname, struct ggml_context ** ctx_ggml) {
51 struct gguf_init_params params = {

Callers 2

copy_tensorMethod · 0.85
merge_tensorMethod · 0.85

Calls 1

to_stringFunction · 0.50

Tested by

no test coverage detected