Chapter 211 / 3
Multimodal & Vision-Language Models
Implement patch embedding (conv or unfold linear) converting an image tensor to patch
Easy
Implement patch embedding (conv or unfold linear) converting an image tensor to patch tokens.
Target interface
class PatchEmbedImplement the function/class skeleton in the editor. Any correct approach is accepted.
Hints0 / 2
Reference solution
Your own code stays in the editor.