diff --git a/ge/graph/build/memory/graph_mem_assigner.cc b/ge/graph/build/memory/graph_mem_assigner.cc index d0298587..45969715 100755 --- a/ge/graph/build/memory/graph_mem_assigner.cc +++ b/ge/graph/build/memory/graph_mem_assigner.cc @@ -271,9 +271,10 @@ Status GraphMemoryAssigner::ReAssignMemory(bool is_loop_graph, mapGetName().c_str(), iter.second, iter.first); } - ErrorManager::GetInstance().ATCReportErrMessage( - "E19022", {"size", "item", "maxsize"}, - {total_mem_offset, "featuremap", std::to_string(VarManager::Instance(session_id)->GetGraphMemoryMaxSize())}); + REPORT_INPUT_ERROR( + "E19022", std::vector({"size", "item", "maxsize"}), + std::vector({std::to_string(total_mem_offset), "featuremap", + std::to_string(VarManager::Instance(session_id)->GetGraphMemoryMaxSize())})); return ge::FAILED; } return SUCCESS;