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

Function ggml_print_objects

ggml.c:1931–1942  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1929}
1930
1931void ggml_print_objects(const struct ggml_context * ctx) {
1932 struct ggml_object * obj = ctx->objects_begin;
1933
1934 GGML_PRINT("%s: objects in context %p:\n", __func__, (const void *) ctx);
1935
1936 while (obj != NULL) {
1937 ggml_print_object(obj);
1938 obj = obj->next;
1939 }
1940
1941 GGML_PRINT("%s: --- end ---\n", __func__);
1942}
1943
1944int64_t ggml_nelements(const struct ggml_tensor * tensor) {
1945 static_assert(GGML_MAX_DIMS == 4, "GGML_MAX_DIMS is not 4 - update this function");

Callers

nothing calls this directly

Calls 1

ggml_print_objectFunction · 0.70

Tested by

no test coverage detected