Concept

Input Representation in RNN Language Models

In recurrent neural network (RNN) language models, each input token is typically represented mathematically by a dd-dimensional vector. When processing a minibatch of size n>1n > 1, the complete input at any given time step tt, denoted as Xt\mathbf{X}_t, is formatted as an nimesdn imes d 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

Contributors are:

Who are from:

Tags

D2L

Dive into Deep Learning @ D2L