mirror of
https://github.com/PaddlePaddle/PaddleClas.git
synced 2025-06-03 21:55:06 +08:00
Update vgg_variant.py
This commit is contained in:
parent
34d9c8593e
commit
c9912f0a04
@ -11,7 +11,7 @@ class SigmoidSuffix(paddle.nn.Layer):
|
||||
self.origin_layer = origin_layer
|
||||
self.sigmoid = Sigmoid()
|
||||
|
||||
def forward(self, *input, res_dict=None, **kwargs):
|
||||
def forward(self, input, res_dict=None, **kwargs):
|
||||
x = self.origin_layer(input)
|
||||
x = self.sigmoid(x)
|
||||
return x
|
||||
|
Loading…
x
Reference in New Issue
Block a user