Browse Source

error message add format

tags/v1.1.0
wangwenhua1@huawei.com 4 years ago
parent
commit
01934a69f2
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      ge/common/formats/format_transfers/format_transfer_nhwc_nc1hwc0.cc

+ 1
- 1
ge/common/formats/format_transfers/format_transfer_nhwc_nc1hwc0.cc View File

@@ -54,7 +54,7 @@ Status CheckArgsForNhwcToNc1hwc0(const TransArgs &args) {
if (args.src_format != FORMAT_NHWC || args.dst_format != FORMAT_NC1HWC0) { if (args.src_format != FORMAT_NHWC || args.dst_format != FORMAT_NC1HWC0) {
std::string error = "Dose not support trans format from " + std::string error = "Dose not support trans format from " +
FmtToStr(TypeUtils::FormatToSerialString(args.src_format)) + " to " + FmtToStr(TypeUtils::FormatToSerialString(args.src_format)) + " to " +
FmtToStr(TypeUtils::FormatToSerialString(args.dst_format)) + ;
FmtToStr(TypeUtils::FormatToSerialString(args.dst_format));
GE_ERRORLOG_AND_ERRORMSG(UNSUPPORTED, error.c_str()); GE_ERRORLOG_AND_ERRORMSG(UNSUPPORTED, error.c_str());
return UNSUPPORTED; return UNSUPPORTED;
} }


Loading…
Cancel
Save