Learn Before
Concept
Input Representation in RNN Language Models
In recurrent neural network (RNN) language models, each input token is typically represented mathematically by a -dimensional vector. When processing a minibatch of size , the complete input at any given time step , denoted as , is formatted as an matrix, where each row corresponds to the vector representation of a token for one of the sequences in the minibatch.
0
1
Updated 2026-05-13
Tags
D2L
Dive into Deep Learning @ D2L