mirror of
https://github.com/huggingface/pytorch-image-models.git
synced 2025-06-03 15:01:08 +08:00
Revert "Update metaformers.py"
This reverts commit 1d882eb494caf5b5a3a1e9c7442d883e1707998e.
This commit is contained in:
parent
e4f89b2e25
commit
4f6bbbfb0e
@ -536,6 +536,7 @@ class Mlp(nn.Module):
|
|||||||
self.drop2 = nn.Dropout(drop_probs[1])
|
self.drop2 = nn.Dropout(drop_probs[1])
|
||||||
|
|
||||||
def forward(self, x):
|
def forward(self, x):
|
||||||
|
print(x)
|
||||||
x = self.fc1(x)
|
x = self.fc1(x)
|
||||||
x = self.act(x)
|
x = self.act(x)
|
||||||
x = self.drop1(x)
|
x = self.drop1(x)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user