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

Function ggml_disconnect_node_from_graph

external/ggml/examples/sam/sam.cpp:361–366  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

359}
360
361static void ggml_disconnect_node_from_graph(ggml_tensor * t) {
362 t->op = GGML_OP_NONE;
363 for (int i = 0; i < GGML_MAX_SRC; i++) {
364 t->src[i] = NULL;
365 }
366}
367
368static void ggml_graph_compute_helper(std::vector<uint8_t> & buf, ggml_cgraph * graph, int n_threads) {
369 struct ggml_cplan plan = ggml_graph_plan(graph, n_threads, nullptr);

Callers 2

sam_encode_imageFunction · 0.85
sam_decode_maskFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected