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

Function ggml_graph_n_nodes

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

Source from the content-addressed store, hash-verified

7155}
7156
7157int ggml_graph_n_nodes(struct ggml_cgraph * cgraph) {
7158 return cgraph->n_nodes;
7159}
7160
7161void ggml_graph_add_node(struct ggml_cgraph * cgraph, struct ggml_tensor * tensor) {
7162 GGML_ASSERT(cgraph->size > cgraph->n_nodes);

Callers 12

compute_piterFunction · 0.85
alloc_compute_metaMethod · 0.85
sched_reserveMethod · 0.85
test_barrierFunction · 0.85
test_activeFunction · 0.85
test_multi_graphFunction · 0.85
check_all_allocatedFunction · 0.85
can_reuse_memoryFunction · 0.85
check_no_overlapFunction · 0.85
eval_perfMethod · 0.85
eval_gradMethod · 0.85

Calls

no outgoing calls

Tested by 8

test_barrierFunction · 0.68
test_activeFunction · 0.68
test_multi_graphFunction · 0.68
check_all_allocatedFunction · 0.68
can_reuse_memoryFunction · 0.68
check_no_overlapFunction · 0.68
eval_perfMethod · 0.68
eval_gradMethod · 0.68