ggml_graph_clear: Clear a Computation Graph

View source: R/graph.R

ggml_graph_clearR Documentation

Clear a Computation Graph

Description

Removes every node from graph, keeping its allocated capacity so it can be rebuilt without a fresh allocation.

Usage

ggml_graph_clear(graph)

Arguments

graph

Graph to clear

Value

NULL, invisibly; graph is modified in place


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