Skip to main content
. 2022 Dec 5;23:521. doi: 10.1186/s12859-022-05062-6

Fig. 4.

Fig. 4

The illustration of the multi-head self-attention mechanism. The multi-head self-attention mechanism operates on each amino acid node. miqi,ki,vi represents the query vector, key vector and value vector of amino acid node mi. miqi,h,ki,h,vi,j represents the query vector, key vector, and value vector of the hth type of amino acid node mi. This symbol indicates addition by element-wise