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
55d4eb78a2
commit
5de2544a80
@ -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