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
f71beadc29
commit
358c4ae7ec
@ -414,7 +414,7 @@ class LayerNormGeneral(nn.Module):
|
|||||||
x = x * self.weight
|
x = x * self.weight
|
||||||
if self.use_bias:
|
if self.use_bias:
|
||||||
x = x + self.bias
|
x = x + self.bias
|
||||||
return
|
return x
|
||||||
|
|
||||||
class SepConv(nn.Module):
|
class SepConv(nn.Module):
|
||||||
r"""
|
r"""
|
||||||
|
Loading…
x
Reference in New Issue
Block a user