MCPcopy Create free account
hub / github.com/DeepRec-AI/DeepRec / operator()

Method operator()

tensorflow/compiler/tf2xla/functionalize_cond.cc:60–64  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

58}
59
60size_t AncestorNode::Hash::operator()(const AncestorNode& ancestor) const {
61 size_t h = std::hash<int>()(ancestor.output_tensor.node->id());
62 h = Hash64Combine(h, std::hash<int>()(ancestor.output_tensor.index));
63 return Hash64Combine(h, std::hash<int>()(static_cast<int>(ancestor.type)));
64}
65
66typedef std::tuple<StateMap::CondId, StateMap::AncestorId, OutputTensor>
67 ClusterTuple;

Callers 1

operator()Method · 0.45

Calls 6

Hash64CombineFunction · 0.85
HashClass · 0.70
idMethod · 0.45
emptyMethod · 0.45
beginMethod · 0.45
endMethod · 0.45

Tested by

no test coverage detected