{ "cells": [ { "cell_type": "markdown", "metadata": {}, "source": [ "\n", "
\n",
"\n",
"*An illustration of multi-head attention (with K = 3 heads) by node 1 on its neighborhood. Different arrow styles and colors denote independent attention computations. The aggregated features from each head are concatenated or averaged to obtain $\\vec{h'}_{1}$.*\n",
"