mirror of
https://github.com/huggingface/pytorch-image-models.git
synced 2025-06-03 15:01:08 +08:00
Update metaformers.py
This commit is contained in:
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…
x
Reference in New Issue
Block a user