Home
last modified time | relevance | path

Searched refs:GetFirstFuncGraph (Results 1 – 3 of 3) sorted by relevance

/third_party/mindspore/tests/ut/cpp/ir/
Dclone_test.cc110 auto g = idx.GetFirstFuncGraph("j"); in TEST_F()
124 ASSERT_FALSE(idx.GetFirstFuncGraph("j") == idx2.GetFirstFuncGraph("j")); in TEST_F()
136 auto g = idx.GetFirstFuncGraph("j"); in TEST_F()
159 auto result1 = idx1.GetFirstFuncGraph(std::string(1, name)); in TEST_F()
160 auto result2 = idx2.GetFirstFuncGraph(std::string(1, name)); in TEST_F()
166 …ASSERT_TRUE(idx1.GetFirstFuncGraph(std::string(1, name)) == idx2.GetFirstFuncGraph(std::string(1, … in TEST_F()
187 …ASSERT_FALSE(idx0.GetFirstFuncGraph("clone_total_sub") == idx1.GetFirstFuncGraph("clone_total_sub"… in TEST_F()
188 ASSERT_FALSE(idx0.GetFirstFuncGraph("clone_total") == idx1.GetFirstFuncGraph("clone_total")); in TEST_F()
193 ASSERT_FALSE(idx0.GetFirstFuncGraph("clone_total") == idx2.GetFirstFuncGraph("clone_total")); in TEST_F()
194 …ASSERT_TRUE(idx0.GetFirstFuncGraph("clone_total_sub") == idx2.GetFirstFuncGraph("clone_total_sub")… in TEST_F()
/third_party/mindspore/mindspore/core/ir/
Dgraph_utils.h90 FuncGraphPtr GetFirstFuncGraph(const std::string &key);
Dgraph_utils.cc313 FuncGraphPtr FuncGraphIndex::GetFirstFuncGraph(const std::string &key) { in GetFirstFuncGraph() function in mindspore::FuncGraphIndex