ggml_gallocr_reserve: Reserve Memory for Graph

View source: R/graph.R

ggml_gallocr_reserveR Documentation

Reserve Memory for Graph

Description

Pre-allocates memory for a graph. This is optional but recommended when running the same graph multiple times to avoid reallocation.

Usage

ggml_gallocr_reserve(galloc, graph)

Arguments

galloc

Graph allocator object

graph

Graph object

Value

TRUE on success, FALSE on failure


ggmlR documentation built on July 14, 2026, 1:08 a.m.