Chapter 213 / 3
Multimodal & Vision-Language Models
Implement cross-attention adapter layers letting text tokens attend to frozen vision featu
Hard
Implement cross-attention adapter layers letting text tokens attend to frozen vision features with gated residual injection.
Target interface
class GatedCrossAttnImplement the function/class skeleton in the editor. Any correct approach is accepted.
Hints0 / 2
Reference solution
Your own code stays in the editor.