讲一下 Transformer 的整体结构和数据流。

一句话速记:Embedding + 位置编码 → N 层(注意力 + FFN,各带残差和归一化)→ 输出层 softmax。

架构

同章节的其他八股