2026.10.24 AI InfraAttention 与 Transformer 基础从 Q、K、V 和张量形状开始,逐步理解 Attention、Encoder 与 Decoder。最后用一个完整的序列反转案例,验证 Cross-Attention、PAD 处理、训练和自回归生成怎样接在一起。