Formula
Boxcar Attention Kernel
The boxcar kernel is an attention pooling kernel defined by the formula . It acts as an indicator function, indiscriminately attending only to observations within a distance of (or another defined hyperparameter) and assigning a weight of zero to all other observations.
0
1
Updated 2026-05-14
Tags
D2L
Dive into Deep Learning @ D2L