Browse Source

error message add

tags/v1.1.0
wangwenhua1@huawei.com 4 years ago
parent
commit
79c1c49964
2 changed files with 3 additions and 3 deletions
  1. +2
    -2
      ge/graph/common/transop_util.cc
  2. +1
    -1
      ge/graph/common/transop_util.h

+ 2
- 2
ge/graph/common/transop_util.cc View File

@@ -85,8 +85,8 @@ bool TransOpUtil::CheckPrecisionLoss(const ge::NodePtr &src_node) {

std::string TransOpUtil::TransopMapToString() {
std::string buffer;
for (auto it = transop_index_map_.begin(); it != transop_index_map_.end(); ++it) {
buffer += it->first + " ";
for (auto &key : Instance().transop_index_map_) {
buffer += key.first + " ";
}
return buffer;
}


+ 1
- 1
ge/graph/common/transop_util.h View File

@@ -35,7 +35,7 @@ class GE_FUNC_HOST_VISIBILITY GE_FUNC_DEV_VISIBILITY TransOpUtil {

static bool CheckPrecisionLoss(const NodePtr &src_node);

std::string TransopMapToString();
static std::string TransopMapToString();

private:
TransOpUtil();


Loading…
Cancel
Save