ggml_graph_add_node: Append a Node to a Computation Graph

View source: R/graph.R

ggml_graph_add_nodeR Documentation

Append a Node to a Computation Graph

Description

Adds tensor to graph as a node, without expanding its dependencies. For the usual case – adding a tensor together with everything it depends on – use ggml_graph_expand.

Usage

ggml_graph_add_node(graph, tensor)

Arguments

graph

Graph to add to

tensor

Tensor to append

Value

NULL, invisibly; graph is modified in place

See Also

ggml_graph_expand


ggmlR documentation built on Oct. 23, 2026, 1:07 a.m.