% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/mlp_helpers.R
\name{unpack_mlp_params}
\alias{unpack_mlp_params}
\title{Unpack MLP parameter vector}
\usage{
unpack_mlp_params(params, input_dim, hidden_dim, output_dim)
}
\arguments{
\item{params}{Numeric parameter vector.}

\item{input_dim}{Number of input variables.}

\item{hidden_dim}{Number of hidden neurons.}

\item{output_dim}{Number of output neurons.}
}
\value{
A list containing \code{W1}, \code{b1}, \code{W2}, and \code{b2}.
}
\description{
Converts a flat parameter vector into weight matrices and bias vectors
for a single-hidden-layer multilayer perceptron.
}
