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
8f70650295
commit
1fd5f7672d
@ -573,7 +573,7 @@ class MetaFormer(nn.Module):
|
||||
return x if pre_logits else self.head.fc(x)
|
||||
|
||||
def forward_features(self, x):
|
||||
x = self.patch_embed(x)
|
||||
x = self.stem(x)
|
||||
x = self.stages(x)
|
||||
x = self.norm_pre(x)
|
||||
return x
|
||||
|
Loading…
x
Reference in New Issue
Block a user