From 30c9dad15733ae1cc8950b319951d3f9b8fecbaf Mon Sep 17 00:00:00 2001 From: wanghuancoder Date: Thu, 7 Sep 2023 14:33:26 +0800 Subject: [PATCH] refine add_n (#57004) --- paddle/fluid/ir_adaptor/translator/op_translator.cc | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/paddle/fluid/ir_adaptor/translator/op_translator.cc b/paddle/fluid/ir_adaptor/translator/op_translator.cc index 86f31fd92ae..39a6acdd21b 100644 --- a/paddle/fluid/ir_adaptor/translator/op_translator.cc +++ b/paddle/fluid/ir_adaptor/translator/op_translator.cc @@ -1112,8 +1112,7 @@ struct AddNOpTranscriber : public OpTranscriber { } const auto& op_info = ctx->GetRegisteredOpInfo(target_op_name); if (!op_info) { - IR_THROW("Op assign_value should have corresponding OpInfo %s", - target_op_name); + IR_THROW("Op add_n should have corresponding OpInfo %s", target_op_name); } return op_info; -- GitLab