Browse Source

!1000 delete white list of cse

From: @zhou_lili
Reviewed-by: @xchu42,@youui
Signed-off-by: @youui
tags/v1.2.0
mindspore-ci-bot Gitee 3 years ago
parent
commit
60b0fab754
1 changed files with 1 additions and 4 deletions
  1. +1
    -4
      ge/graph/passes/common_subexpression_elimination_pass.cc

+ 1
- 4
ge/graph/passes/common_subexpression_elimination_pass.cc View File

@@ -26,9 +26,6 @@


namespace ge { namespace ge {
namespace { namespace {
std::set<std::string> un_compute_attrs = {
{ATTR_NAME_DATA_DUMP_ORIGIN_OP_NAMES},
};


std::string GetCseKey(const NodePtr &node) { std::string GetCseKey(const NodePtr &node) {
std::stringstream ss; std::stringstream ss;
@@ -53,7 +50,7 @@ std::string GetCseKey(const NodePtr &node) {
ss << name << "-"; ss << name << "-";
} }


ss << "attrs-" << AttrUtils::GetAttrsStrAfterRid(node->GetOpDesc(), un_compute_attrs);
ss << "attrs-" << AttrUtils::GetAllAttrsStr(node->GetOpDesc());


return ss.str(); return ss.str();
} }


Loading…
Cancel
Save