Fig. 4From: LTPConstraint: a transfer learning based end-to-end method for RNA secondary structure predictionThe mechanism of self-attention. The graph shows a numerical transformation of self-attention. Three vectors of Query, Key and Value are obtained from the input X according to different weights, and then these three vectors are put into the following formula to obtain self-attentionBack to article page