Home
last modified time | relevance | path

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

/external/tensorflow/tensorflow/core/grappler/graph_analyzer/
Dsig_node.h133 struct HashedPeer { struct
134 HashedPeer(size_t l, SigNode* p) : link_hash(l), peer(p) {} in HashedPeer() argument
137 bool operator()(const SigNode::HashedPeer& left, in operator() argument
138 const SigNode::HashedPeer& right) { in operator()
146 using HashedPeerVector = std::vector<HashedPeer>; argument
Dsig_node_test.cc288 RefHashedPeers(&sn1).emplace_back(SigNode::HashedPeer(1, nullptr)); in TEST_F()
289 RefHashedPeers(&sn1).emplace_back(SigNode::HashedPeer(1, nullptr)); in TEST_F()
290 RefHashedPeers(&sn1).emplace_back(SigNode::HashedPeer(2, nullptr)); in TEST_F()
291 RefHashedPeers(&sn1).emplace_back(SigNode::HashedPeer(3, nullptr)); in TEST_F()
292 RefHashedPeers(&sn1).emplace_back(SigNode::HashedPeer(3, nullptr)); in TEST_F()
327 RefHashedPeers(&sn1).emplace_back(SigNode::HashedPeer(10, &sn2)); in TEST_F()
328 RefHashedPeers(&sn1).emplace_back(SigNode::HashedPeer(10, &sn3)); in TEST_F()
329 RefHashedPeers(&sn1).emplace_back(SigNode::HashedPeer(20, &sn2)); in TEST_F()
330 RefHashedPeers(&sn1).emplace_back(SigNode::HashedPeer(30, &sn3)); in TEST_F()
331 RefHashedPeers(&sn1).emplace_back(SigNode::HashedPeer(30, &sn2)); in TEST_F()
[all …]
Dsig_node.cc79 hashed_peers_.emplace_back(HashedPeer(entry.second.unique_hash, peer)); in CopyLinksPass2()
407 SigNode::HashedPeer::LessByRank()); in OrderLinks()
417 SigNode::HashedPeer::LessByRank()); in OrderLinks()