Searched refs:dump_config_file (Results 1 – 2 of 2) sorted by relevance
106 std::string dump_config_file = real_path.value(); in GetConfigFile() local109 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()
94 auto dump_config_file = Common::GetConfigFile(kMindsporeDumpConfig); in Parse() local95 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() local143 if (!dump_config_file.has_value()) { in CopyDumpJsonToDir()146 std::ifstream json_file(dump_config_file.value()); in CopyDumpJsonToDir()