Formula

Output Layer Variable Formula

The final linear transformation in a single hidden layer neural network occurs at the output layer. Using the hidden activation vector h\mathbf{h} as input, and assuming the output layer uses a weight parameter matrix W(2)Rqimesh\mathbf{W}^{(2)} \in \mathbb{R}^{q imes h} (without a bias term), the output layer variable o\mathbf{o} of length qq is calculated as:

o=W(2)h\mathbf{o} = \mathbf{W}^{(2)} \mathbf{h}

0

1

Updated 2026-05-06

Contributors are:

Who are from:

Tags

D2L

Dive into Deep Learning @ D2L