Update metaformers.py

pull/1647/head
Fredo Guan 2 years ago
parent 358c4ae7ec
commit 926d886527

@ -527,7 +527,7 @@ class MetaFormerBlock(nn.Module):
super().__init__()
self.downsample = nn.Identity()
self.downsample = downsample
self.norm1 = norm_layer(dim)
self.token_mixer = token_mixer(dim=dim, drop=drop)

Loading…
Cancel
Save