From 13bf1d1b4d41d1174be8590bea43989fdaf29309 Mon Sep 17 00:00:00 2001 From: zhou_chao1993 Date: Wed, 24 Mar 2021 14:49:20 +0800 Subject: [PATCH] modif set dump --- ge/common/dump/dump_manager.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ge/common/dump/dump_manager.cc b/ge/common/dump/dump_manager.cc index a659d9c6..61a60afd 100644 --- a/ge/common/dump/dump_manager.cc +++ b/ge/common/dump/dump_manager.cc @@ -96,7 +96,7 @@ FMK_FUNC_HOST_VISIBILITY FMK_FUNC_DEV_VISIBILITY Status DumpManager::SetDumpConf dump_mode = dump_config.dump_mode; GELOGI("Dump mode is %s", dump_mode.c_str()); dump_properties.SetDumpMode(dump_mode); - dump_properties_map_.emplace(kInferSessionId, dump_properties); + dump_properties_map_[kInferSessionId] = dump_properties; return SUCCESS; }