% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/nn_model.R
\name{ggml_save_weights}
\alias{ggml_save_weights}
\title{Save Model Weights to File}
\usage{
ggml_save_weights(model, path)
}
\arguments{
\item{model}{A trained ggml_sequential_model}

\item{path}{File path to save weights (typically with .rds extension)}
}
\value{
The model (invisibly).
}
\description{
Saves the trained weights of a sequential model to an RDS file.
The file includes both weights and architecture metadata for validation
when loading.
}
