in ViT4MNIST/vit_pytorch.py [0:0]
def forward(self, x, mask=None): for attn, ff in self.layers: x = attn(x, mask=mask) x = ff(x) return x