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

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

\item{test_x}{Test data.}

\item{test_y}{Test labels.}

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

\item{...}{Additional arguments passed to \code{\link{ggml_evaluate}}.}
}
\value{
A named list with \code{loss} and metric values.
}
\description{
Computes loss and metrics on test data.  This is the keras-compatible
interface; it delegates to \code{\link{ggml_evaluate}}.
}
