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

Class Hash

tensorflow/compiler/tf2xla/functionalize_cond.cc:404–409  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

402Status Conditional::BuildArgumentNodes() {
403 VLOG(1) << "Build function arguments";
404 struct Hash {
405 size_t operator()(const std::pair<Node*, int>& item) const {
406 return Hash64Combine(hash<Node*>()(item.first),
407 std::hash<int>()(item.second));
408 }
409 };
410
411 std::unordered_map<std::pair<Node*, int>, int, Hash> input_index;
412 for (Node* switch_node : switches_) {

Callers 6

operator()Method · 0.70
HashMethod · 0.50
HashMethod · 0.50
HashMethod · 0.50
HashOperandFunction · 0.50
HashMethod · 0.50

Calls

no outgoing calls

Tested by

no test coverage detected