Question 4
What is the correct order of operations for processing an image through a Vision Transformer (ViT)?
Image patching → Positional embedding → Linear projection of flattened patches → Transformer encoder→ Classification head
Image patching → Linear projection of flattened patches → Positional embedding → Transformer encoder→ Classification head
Positional embedding → Image patching → Linear projection of flattened patches → Transformer encoder→ Classification head
Linear projection of Images → Image patching → Positional embedding → Transformer encoder → Classification head
Linear projection of Images → Image patching → Positional embedding → Transformer encoder → Transformer decoder→ Classification head