Skip to content

Commit f8d5775

Browse files
authored
Merge pull request #14400 from jacquesqiao/fix-prelu
fix prelu
2 parents 9f33593 + 8e0616e commit f8d5775

File tree

1 file changed

+1
-1
lines changed
  • python/paddle/fluid/layers

1 file changed

+1
-1
lines changed

python/paddle/fluid/layers/nn.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6822,7 +6822,7 @@ def prelu(x, mode, param_attr=None, name=None):
68226822
alpha_shape = x.shape
68236823
dtype = helper.input_dtype(input_param_name='x')
68246824
alpha = helper.create_parameter(
6825-
attr=param_attr,
6825+
attr=helper.param_attr,
68266826
shape=alpha_shape,
68276827
dtype='float32',
68286828
is_bias=False,

0 commit comments

Comments
 (0)