rapid_attention_shift#
- rapid_attention_shift(weights, predictions, input, error, gain, pnorm, P, rho)[source]#
The change in the attention gain of
cpm.models.attention.RapidAttentionShift.
The change in the attention gain of cpm.models.attention.RapidAttentionShift.