class

Attention::AttentionDiffusion

Inherits Reference < Object

Manages spreading of attention between atoms

Constructors

new(bank : AttentionBank)
Source

Instance methods

bank
Source
get_statistics

Get diffusion statistics

Source
hebbian_diffusion(max_iterations : Int32 = 2)

Perform Hebbian learning-based diffusion Spreads attention based on co-activation patterns

Source
neighbor_diffusion(max_iterations : Int32 = 3)

Perform neighbor-based importance diffusion Spreads attention from high-STI atoms to their neighbors

Source