ProtPlot.Attention.PointAttention
— TypeHolds L 3D points and an HxLxL attention intensity tensor. The attention to the first i residues at time i is intensities[:, i, 1:i]. Each column of this matrix represents the attention of some head to the corresponding points[1:i].
ProtPlot.Attention.animate_attention
— Methodanimate_attention(chain::Protein.Chain, attention::AbstractArray{<:Real, 3}; kwargs...)
ProtPlot.Attention.draw_attention!
— MethodTake H points, and an LxH attention intensity matrix. For each column slice of the attention matrix, draw lines to the corresponding points with the intensities in the vector that exceed a certain threshold. The thickness of the lines should be proportional to the value in the attention matrix.