% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/nn_functional.R
\name{nn_build_functional_graph}
\alias{nn_build_functional_graph}
\title{Build ggml computation graph for a functional model}
\usage{
nn_build_functional_graph(model, batch_size, training = FALSE)
}
\arguments{
\item{model}{A ggml_functional_model}

\item{batch_size}{Integer batch size}

\item{training}{Logical; TRUE during fit (activates dropout scaling), FALSE
during evaluate/predict (dropout becomes identity).}
}
\value{
Named list with inputs, outputs, ctx_weights, ctx_compute, buffer, node_weights
}
\description{
Build ggml computation graph for a functional model
}
\keyword{internal}
