Home
last modified time | relevance | path

Searched refs:dump_config_file (Results 1 – 2 of 2) sorted by relevance

/third_party/mindspore/mindspore/ccsrc/debug/
Dcommon.cc106 std::string dump_config_file = real_path.value(); in GetConfigFile() local
109 if (!fs->FileExist(dump_config_file)) { in GetConfigFile()
110 MS_LOG(ERROR) << dump_config_file << " not exist."; in GetConfigFile()
113 auto point_pos = dump_config_file.find_last_of('.'); in GetConfigFile()
115 MS_LOG(EXCEPTION) << "Invalid json file name:" << dump_config_file; in GetConfigFile()
117 auto suffix = dump_config_file.substr(point_pos + 1); in GetConfigFile()
121 return dump_config_file; in GetConfigFile()
/third_party/mindspore/mindspore/ccsrc/debug/data_dump/
Ddump_json_parser.cc94 auto dump_config_file = Common::GetConfigFile(kMindsporeDumpConfig); in Parse() local
95 if (!dump_config_file.has_value()) { in Parse()
99 std::ifstream json_file(dump_config_file.value()); in Parse()
101 MS_LOG(EXCEPTION) << "Dump file:" << dump_config_file.value() << " open failed." in Parse()
142 auto dump_config_file = Common::GetConfigFile(kMindsporeDumpConfig); in CopyDumpJsonToDir() local
143 if (!dump_config_file.has_value()) { in CopyDumpJsonToDir()
146 std::ifstream json_file(dump_config_file.value()); in CopyDumpJsonToDir()