1 Residual connections are employed around each module in the Transformer to improve training stability.
“For building a deeper model, a residual connection [49] is employed around each module, followed by Layer Normalization [4] module.”
Encoding unit — one grounded idea
from the paper A survey of transformers (2022)