Home Knowledge Base Sinusoidal Position Encoding

Sinusoidal Position Encoding is the original position encoding from the Transformer paper — using fixed sine and cosine functions at different frequencies to encode absolute position, based on the idea that relative positions can be represented as linear transformations.

How Does It Work?

Why It Matters

Sinusoidal Position Encoding is the mathematical clock of the original Transformer — encoding position through harmonic frequencies at no parameter cost.

sinusoidal position encoding

Explore 500+ Semiconductor & AI Topics

From EUV lithography to CUDA optimization — search the full knowledge base or chat with our AI assistant.