Skip to content

Commit ec7184a

Browse files
author
wangyang59
committed
fixed a bug in conv_projection issue PaddlePaddle#1681
1 parent 6273574 commit ec7184a

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

python/paddle/trainer/config_parser.py

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -724,7 +724,8 @@ def __init__(self,
724724
num_filters=None,
725725
conv_conf=None,
726726
**xargs):
727-
super(ConvProjection, self).__init__(input_layer_name, **xargs)
727+
super(ConvProjection, self).__init__(input_layer_name, num_filters,
728+
conv_conf, **xargs)
728729

729730
parse_conv(conv_conf, self.input_layer_name, self.proj_conf.conv_conf,
730731
num_filters)
@@ -742,7 +743,8 @@ def __init__(self,
742743
num_filters=None,
743744
conv_conf=None,
744745
**xargs):
745-
super(ConvTransProjection, self).__init__(input_layer_name, **xargs)
746+
super(ConvTransProjection, self).__init__(input_layer_name, num_filters,
747+
conv_conf, **xargs)
746748

747749
parse_conv(
748750
conv_conf,

0 commit comments

Comments
 (0)