Split attention's work into local syntax, exact recall, and distant gist, then add the third via moving average. I could write it with a single cumulative sum, but with a short half-life even float64 overflows, so I added an assert. I think the odds of it working are no better than 50%
Translated from Japanese
commit e5016ec