Browse Source

singleop errormassage modify

tags/v1.1.0
wangwenhua 4 years ago
parent
commit
3fa4ecff3f
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      ge/offline/single_op_parser.cc

+ 1
- 1
ge/offline/single_op_parser.cc View File

@@ -226,7 +226,7 @@ bool SingleOpParser::Validate(const SingleOpDesc &op_desc) {
}

int index = 0;
for (auto &tensor_desc : op_desc.output_desc) {
for (auto &tensor_desc : op_desc.input_desc) {
if ((tensor_desc.type == DT_UNDEFINED && tensor_desc.format != FORMAT_RESERVED) ||
(tensor_desc.type != DT_UNDEFINED && tensor_desc.format == FORMAT_RESERVED)){
ErrorManager::GetInstance().ATCReportErrMessage("E10027", {"input", "index"}, {"output", std::to_string(index)});


Loading…
Cancel
Save