Pure C implementation of the Transformer Decoder Layer featuring masked self-attention, encoder-decoder cross-attention, residual connections, LayerNorm, and feed-forward networks, following the original Attention Is All You Need architecture.
c nlp transformer pure-c layer-normalization multi-head-attention residual-connections llm cross-attention masked-attention decoder-layer
-
Updated
Jul 13, 2026 - C