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