Browse Source

format log optimize

tags/v1.3.0
liyihan2@huawei.com 4 years ago
parent
commit
e1398869c8
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      ge/common/formats/format_transfers/format_transfer_transpose.cc

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

@@ -51,7 +51,7 @@ bool IsShapeArgValid(const std::vector<int64_t> &src_shape, const std::vector<in
if (src_shape.empty()) { if (src_shape.empty()) {
std::string error = "Failed to transpose, empty src shape"; std::string error = "Failed to transpose, empty src shape";
GE_ERRORLOG_AND_ERRORMSG(ACL_ERROR_GE_SHAPE_INVALID, error.c_str()); GE_ERRORLOG_AND_ERRORMSG(ACL_ERROR_GE_SHAPE_INVALID, error.c_str());
GELOGE((ACL_ERROR_GE_SHAPE_INVALID, "[Trans][Shape]Failed, empty src shape");
GELOGE(ACL_ERROR_GE_SHAPE_INVALID, "[Trans][Shape]Failed, empty src shape");
return false; return false;
} }
for (auto dim : src_shape) { for (auto dim : src_shape) {


Loading…
Cancel
Save