Learn Before
Concept
Decoder Mapping from a Fixed-Shape State
Within the encoder–decoder framework, the decoder is responsible for producing the final output based on the information gathered by the encoder. It maps the fixed-shape encoded state back into a new, variable-length sequence. This capability to transition from a fixed-shape context to a flexible output length is what makes the architecture suitable for sequence-to-sequence problems such as machine translation.
0
1
Updated 2026-05-14
Tags
D2L
Dive into Deep Learning @ D2L