% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/mlp_helpers.R
\name{forward_mlp}
\alias{forward_mlp}
\title{Forward pass for a single-hidden-layer MLP}
\usage{
forward_mlp(params, X, input_dim, hidden_dim, output_dim)
}
\arguments{
\item{params}{Numeric parameter vector.}

\item{X}{Input matrix.}

\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 hidden activations and predictions.
}
\description{
Computes hidden-layer activations and output predictions.
}
