Build ggml computation graph for a functional model
nn_build_functional_graph(
model,
batch_size,
training = FALSE,
logits_output = FALSE
)Named list with inputs, outputs, ctx_weights, ctx_compute, buffer, node_weights
A ggml_functional_model
Integer batch size
Logical; TRUE during fit (activates dropout scaling), FALSE during evaluate/predict (dropout becomes identity).