From 6d2c667965b0546890459cebd3a2304d3c47f6db Mon Sep 17 00:00:00 2001 From: wangxiaotian22 Date: Tue, 23 Mar 2021 20:24:57 +0800 Subject: [PATCH] fix format check --- ge/generator/ge_generator.cc | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/ge/generator/ge_generator.cc b/ge/generator/ge_generator.cc index 4cd5d34f..156739b6 100644 --- a/ge/generator/ge_generator.cc +++ b/ge/generator/ge_generator.cc @@ -572,7 +572,7 @@ Status GeGenerator::SetModelNameForDump(const GeRootModelPtr &ge_root_model) { if (ret != SUCCESS) { GELOGE(FAILED, "[Check][IsUnknownShape]Check root model is unknown shape failed, model id:%u", ge_root_model->GetModelId()); - REPORT_CALL_ERROR("E19999", "Check root model is unknown shape failed, model id:%zu", + REPORT_CALL_ERROR("E19999", "Check root model is unknown shape failed, model id:%u", ge_root_model->GetModelId()); return FAILED; } @@ -593,8 +593,6 @@ Status GeGenerator::SetModelNameForDump(const GeRootModelPtr &ge_root_model) { ErrorManager::GetInstance().ATCReportErrMessage("E10000", {"parameter"}, {"output"}); GELOGE(FAILED, "[Check][GetModelNameStep]Get model_name failed. Param --output is invalid, root graph name: %s", ge_root_model->GetRootGraph()->GetName().c_str()); - REPORT_CALL_ERROR("E19999", "Get model_name failed. Param --output is invalid,", - "root graph name: %s", ge_root_model->GetRootGraph()->GetName().c_str()); return PARAM_INVALID; } map name_to_ge_model = ge_root_model->GetSubgraphInstanceNameToModel();