提交 7d927324 编写于 作者: 刘托

Merge branch 'leakrelu_bug' into 'master'

fix bug on converting LeakyRelu from ONNX

See merge request deep-computing/mace!1241
......@@ -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.
先完成此消息的编辑!
想要评论请 注册