fix two issues: dump with input_output=1 and log type name
This commit is contained in:
parent
30ea9eb97c
commit
6b090679ab
|
@ -221,6 +221,9 @@ void E2eDump::DumpParametersAndConst(const session::KernelGraph *graph, const st
|
|||
const Debugger *debugger) {
|
||||
MS_EXCEPTION_IF_NULL(graph);
|
||||
auto &dump_json_parser = DumpJsonParser::GetInstance();
|
||||
if (!dump_json_parser.OutputNeedDump()) {
|
||||
return;
|
||||
}
|
||||
MS_LOG(INFO) << "Start e2e dump parameters and Const values";
|
||||
bool trans_flag = dump_json_parser.trans_flag();
|
||||
std::map<std::string, size_t> const_map;
|
||||
|
|
|
@ -111,7 +111,7 @@ bool IsTypeDebuggerSupported(TypeId type) {
|
|||
if (type < TypeId::kNumberTypeEnd && type > TypeId::kNumberTypeBegin && type != kNumberTypeComplex64) {
|
||||
return true;
|
||||
} else {
|
||||
MS_LOG(WARNING) << "Debugger does not support type id: " << type;
|
||||
MS_LOG(INFO) << "Debugger does not support type: " << TypeIdLabel(type);
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue