MCPcopy Create free account
hub / github.com/0xShug0/audio.cpp / ggml_graph_node

Function ggml_graph_node

external/ggml/src/ggml.c:7432–7440  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

7430}
7431
7432struct ggml_cgraph * ggml_new_graph(struct ggml_context * ctx) {
7433 return ggml_new_graph_custom(ctx, GGML_DEFAULT_GRAPH_SIZE, false);
7434}
7435
7436struct ggml_cgraph ggml_graph_view(struct ggml_cgraph * cgraph0, int i0, int i1) {
7437 struct ggml_cgraph cgraph = {
7438 /*.size =*/ 0,
7439 /*.n_nodes =*/ i1 - i0,
7440 /*.n_leafs =*/ 0,
7441 /*.nodes =*/ cgraph0->nodes + i0,
7442 /*.grads =*/ NULL, // gradients would need visited_hash_set
7443 /*.grad_accs =*/ NULL,

Callers 14

nodeMethod · 0.85
mainFunction · 0.85
mainFunction · 0.85
mainFunction · 0.85
mainFunction · 0.85
mainFunction · 0.85
eval_perfMethod · 0.85
mainFunction · 0.85
computeFunction · 0.85
computeFunction · 0.85

Calls

no outgoing calls

Tested by 6

mainFunction · 0.68
mainFunction · 0.68
mainFunction · 0.68
mainFunction · 0.68
mainFunction · 0.68
eval_perfMethod · 0.68