Learn R Programming

ggmlR (version 0.6.1)

ggml_gallocr_reserve: 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)

Value

TRUE on success, FALSE on failure

Arguments

galloc

Graph allocator object

graph

Graph object