mirror of
https://github.com/huggingface/pytorch-image-models.git
synced 2025-06-03 15:01:08 +08:00
fix fasternet
This commit is contained in:
parent
cb98094792
commit
1922ca5f1b
@ -102,6 +102,7 @@ class MLPBlock(nn.Module):
|
|||||||
x = shortcut + self.drop_path(self.mlp(x))
|
x = shortcut + self.drop_path(self.mlp(x))
|
||||||
return x
|
return x
|
||||||
|
|
||||||
|
|
||||||
class Block(nn.Module):
|
class Block(nn.Module):
|
||||||
def __init__(
|
def __init__(
|
||||||
self,
|
self,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user