diff --git a/paddle/fluid/ir_adaptor/translator/op_translator.cc b/paddle/fluid/ir_adaptor/translator/op_translator.cc index 86f31fd92ae90346cc6da073fb06d333ed801b08..39a6acdd21b55020b80cfb77b3b59e64333786aa 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;