Formula

Constant Attention Kernel

The constant kernel for attention pooling is defined by the formula α(x)=1.0+0imesx\alpha(x) = 1.0 + 0 imes x. It is a translation and rotation invariant kernel that assigns a uniform, constant weight of 1.01.0 to all observations, regardless of their distance.

0

1

Updated 2026-05-14

Contributors are:

Who are from:

Tags

D2L

Dive into Deep Learning @ D2L

Learn After