未验证 提交 f8d57755 编写于 作者: Q Qiao Longfei 提交者: GitHub

Merge pull request #14400 from jacquesqiao/fix-prelu

fix prelu
......@@ -6822,7 +6822,7 @@ def prelu(x, mode, param_attr=None, name=None):
alpha_shape = x.shape
dtype = helper.input_dtype(input_param_name='x')
alpha = helper.create_parameter(
attr=param_attr,
attr=helper.param_attr,
shape=alpha_shape,
dtype='float32',
is_bias=False,
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册