提交 716963c9 编写于 作者: L luxuhui

fix bug on converting LeakyRelu from ONNX

N/A
Signed-off-by: NLuxuhui <luxuhui@xiaomi.com>
上级 a2f49f02
......@@ -626,7 +626,7 @@ class OnnxConverter(base_converter.ConverterInterface):
else:
alpha_value = 0
alpha_arg = op.arg.add()
alpha_arg.name = MaceKeyword.mace_activation_max_limit_str
alpha_arg.name = MaceKeyword.mace_activation_leakyrelu_coefficient_str
alpha_arg.f = alpha_value
def convert_affine(self, node):
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册