MCPcopy Create free account
hub / github.com/DeepRec-AI/DeepRec / CopyLinks

Method CopyLinks

tensorflow/core/grappler/graph_analyzer/sig_node.cc:32–39  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

30SigNode::SigNode(const NodeDef* node) : node_(node) {}
31
32void SigNode::CopyLinks(const GenNode& from, const TranslationMap& map) {
33 hash_to_link_.clear();
34 hashed_peers_.clear();
35
36 std::map<LinkTag, Link> link_map;
37 CopyLinksPass1(from, map, &link_map);
38 CopyLinksPass2(&link_map);
39}
40
41void SigNode::CopyLinksPass1(const GenNode& from, const TranslationMap& map,
42 std::map<LinkTag, Link>* link_map) {

Callers 1

ExtractForSignatureMethod · 0.80

Calls 1

clearMethod · 0.45

Tested by

no test coverage detected