Image Transformer architecture and encoder block detail
A two-panel academic neural-network architecture diagram with an Image Transformer overview and Transformer Encoder Block detail.
(a)
(b)
Image Transformer (IT)
Encoder Block Detail
Transformer Encoder
MLP Head
Class scores
cat
car
tree
Patch + Position Embedding
CLS
1
2
3
4
5
6
Linear Projection
Input image
C
D
P
L ×
Transformer Encoder Block
Output sequence
MLP
Norm
+
Multi-Head Attention
Norm
Embedded Patches
+
A1
A2
Skip
Legend
Classification module
Patch processing
Normalization
Attention
Encoder