Searched refs:GetTopoHash (Results 1 – 3 of 3) sorted by relevance
/external/tensorflow/tensorflow/core/grappler/graph_analyzer/ |
D | sig_node_test.cc | 87 static size_t GetTopoHash(int distance, SigNode* node) { in GetTopoHash() function in tensorflow::grappler::graph_analyzer::test::SigBaseTest 88 return node->GetTopoHash(distance); in GetTopoHash() 233 TEST_F(SigNodeTest, GetTopoHash) { in TEST_F() argument 241 EXPECT_THAT(GetTopoHash(0, &sn1), Eq(123)); in TEST_F() 242 EXPECT_THAT(GetTopoHash(1, &sn1), Eq(456)); in TEST_F() 246 EXPECT_THAT(GetTopoHash(0, &sn1), Eq(123)); in TEST_F() 247 EXPECT_THAT(GetTopoHash(1, &sn1), Eq(456)); in TEST_F() 248 EXPECT_THAT(GetTopoHash(2, &sn1), Eq(456)); in TEST_F() 261 EXPECT_THAT(GetTopoHash(0, &sn1), Eq(123)); in TEST_F() 262 EXPECT_THAT(GetTopoHash(1, &sn1), Eq(456)); in TEST_F() [all …]
|
D | sig_node.cc | 140 CombineHashCommutative(entry.peer->GetTopoHash(prev), &comm_hash); in ComputeTopoHash() 156 size_t SigNode::GetTopoHash(int distance) const { in GetTopoHash() function in tensorflow::grappler::graph_analyzer::SigNode
|
D | sig_node.h | 179 size_t GetTopoHash(int distance) const;
|