第11章注意機構とTransformer
11.5.3. Summary11.5.3 まとめ
Multi-head attention combines knowledge of the same attention pooling via different representation subspaces of queries, keys, and values. To compute multiple heads of multi-head attention in parallel, proper tensor manipulation is needed.
英語のヒント
マルチヘッド注意は、クエリ、キー、バリューの異なる表現部分空間を通じて、同じ注意プーリングの知識を組み合わせる。マルチヘッド注意の複数のヘッドを並列に計算するには、テンソルを適切に操作する必要がある。