|
|
|
@ -69,7 +69,7 @@ Status CheckInputFormat(const string &input_format) {
|
|
|
|
|
}
|
|
|
|
|
if (!ge::TypeUtils::IsFormatValid(input_format.c_str())) {
|
|
|
|
|
ErrorManager::GetInstance().ATCReportErrMessage(
|
|
|
|
|
"E10001", {"parameter", "value", "reason"}, {"--input_format", FLAGS_input_format, "input format is invalid!"});
|
|
|
|
|
"E10001", {"parameter", "value", "reason"}, {"--input_format", input_format, "input format is invalid!"});
|
|
|
|
|
GELOGE(ge::PARAM_INVALID, "input format [%s] is invalid!", input_format.c_str());
|
|
|
|
|
return ge::PARAM_INVALID;
|
|
|
|
|
}
|
|
|
|
|