← 返回卡片

原书出处

Foundations of Computer Vision (Antonio Torralba, Phillip Isola etc.)

核验版本的摘录快照 · 导入于 2026-11-14T15:40:56.549Z

Self-attention is just such an architecture. The idea is that on a self-attention layer, all tokens submit queries, and for each of these queries, we take a weighted sum over all tokens in that layer. If Tin is a set of N input tokens, then we have N queries, N weighted sums, and N output tokens to form Tout. This is visualized below in figure

此预览只包含定位所需的摘录和上下文。

原书定位详情

来源:a19c7933-4eda-4176-aebd-30fe7e1ad292

正文位置:extracted/Foundations of Computer Vision (Antonio Torralba, Phillip Isola etc.)/_epub-src/OPS/xhtml/c026.xhtml

EPUB SHA-256:60a7eebc43f5d9a675d776fed3736fbdaa791e55877023f2f8cba016a9b384f8