未验证 提交 30c9dad1 编写于 作者: W wanghuancoder 提交者: GitHub

refine add_n (#57004)

上级 31c2b9dc
...@@ -1112,8 +1112,7 @@ struct AddNOpTranscriber : public OpTranscriber { ...@@ -1112,8 +1112,7 @@ struct AddNOpTranscriber : public OpTranscriber {
} }
const auto& op_info = ctx->GetRegisteredOpInfo(target_op_name); const auto& op_info = ctx->GetRegisteredOpInfo(target_op_name);
if (!op_info) { if (!op_info) {
IR_THROW("Op assign_value should have corresponding OpInfo %s", IR_THROW("Op add_n should have corresponding OpInfo %s", target_op_name);
target_op_name);
} }
return op_info; return op_info;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册