mlp_forward_cache: Forward Pass with Cache

View source: R/mlp_gradient.R

mlp_forward_cacheR Documentation

Forward Pass with Cache

Description

Internal helper that stores intermediate values needed for backpropagation.

Usage

mlp_forward_cache(x, weights, architecture)

Arguments

x

Numeric input matrix.

weights

Numeric parameter vector.

architecture

MLP architecture object.

Value

A list containing activations, pre-activations, and decoded weights.


metANN documentation built on May 16, 2026, 1:06 a.m.