Skip to content

Commit 8e0616e

Browse files
committed
fix prelu
test=develop
1 parent 9a6e239 commit 8e0616e

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
@@ -6811,7 +6811,7 @@ def prelu(x, mode, param_attr=None, name=None):
68116811
alpha_shape = x.shape
68126812
dtype = helper.input_dtype(input_param_name='x')
68136813
alpha = helper.create_parameter(
6814-
attr=param_attr,
6814+
attr=helper.param_attr,
68156815
shape=alpha_shape,
68166816
dtype='float32',
68176817
is_bias=False,

0 commit comments

Comments
 (0)