Learn Before
Concept
Output Layer Transformation in RNN Language Models
In a recurrent neural network (RNN) language model, a fully connected output layer is utilized to transform the sequence of RNN hidden states into token predictions at each time step. This layer projects the hidden representations into the vocabulary space, generating unnormalized scores (logits) that indicate the likelihood of each token in the vocabulary being the next item in the sequence.
0
1
Updated 2026-05-14
Tags
D2L
Dive into Deep Learning @ D2L