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

Method Hash

tensorflow/core/grappler/graph_analyzer/subgraph.cc:70–77  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

68}
69
70size_t Subgraph::Identity::Hash() const {
71 std::hash<const GenNode*> hasher;
72 size_t result = 0;
73 for (auto ptr : *this) {
74 CombineHash(hasher(ptr), &result);
75 }
76 return result;
77}
78
79string Subgraph::Dump() {
80 // TODO(babkin): this is simplified for now.

Callers 2

SubgraphMethod · 0.45
operator()Method · 0.45

Calls 1

CombineHashFunction · 0.85

Tested by

no test coverage detected