% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/keras_tools.R
\name{extract_keras_model}
\alias{extract_keras_model}
\title{Extract Keras Model from a Fitted Kerasnip Object}
\usage{
extract_keras_model(object)
}
\arguments{
\item{object}{A \code{model_fit} object produced by a \code{kerasnip} specification.}
}
\value{
The raw Keras model object (\code{keras_model}).
}
\description{
Extracts and returns the underlying Keras model object from a \code{parsnip}
\code{model_fit} object created by \code{kerasnip}.
}
\details{
Extract the Raw Keras Model from a Kerasnip Fit

This is useful when you need to work directly with the Keras model object for
tasks like inspecting layer weights, creating custom plots, or passing it to
other Keras-specific functions.
}
\seealso{
keras_evaluate, extract_keras_history
}
