% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/keras_api.R
\name{predict.ggml_sequential_model}
\alias{predict.ggml_sequential_model}
\alias{predict.ggml_functional_model}
\title{Predict with a Trained Model}
\usage{
\method{predict}{ggml_sequential_model}(object, x, batch_size = 32L, ...)

\method{predict}{ggml_functional_model}(object, x, batch_size = 32L, ...)
}
\arguments{
\item{object}{A trained model object.}

\item{x}{Input data (matrix, array, or list for multi-input models).}

\item{batch_size}{Batch size for inference (default 32).}

\item{...}{Additional arguments (ignored).}
}
\value{
Matrix of predictions.
}
\description{
Generates predictions from a trained model.  Uses the standard R
\code{\link[stats]{predict}} generic for compatibility with keras3 and
the broader R ecosystem.
}
