% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/nn_functional.R, R/nn_model.R
\name{ggml_predict.ggml_functional_model}
\alias{ggml_predict.ggml_functional_model}
\alias{ggml_predict}
\alias{ggml_predict.ggml_sequential_model}
\title{Get Predictions from a Trained Model}
\usage{
\method{ggml_predict}{ggml_functional_model}(model, x, batch_size = 32L, ...)

ggml_predict(model, ...)

\method{ggml_predict}{ggml_sequential_model}(model, x, batch_size = 32L, ...)
}
\arguments{
\item{model}{A trained ggml_sequential_model}

\item{x}{Input data (matrix or array)}

\item{batch_size}{Batch size for inference}

\item{...}{Additional arguments (ignored).}
}
\value{
Matrix of predictions with shape \code{[N, output_units]}
}
\description{
Runs forward pass on input data and returns prediction probabilities
(or raw output values for regression). Unlike \code{ggml_evaluate()}, this
does not require labels.
}
