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

Method LookupAncestorId

tensorflow/compiler/tf2xla/functionalize_cond.cc:241–245  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

239}
240
241StateMap::AncestorId StateMap::LookupAncestorId(const Node* node) const {
242 if (node->id() < node_to_ancestorid_map_.size())
243 return node_to_ancestorid_map_[node->id()];
244 return added_node_ancestorid_mapping_.at(node->id());
245}
246
247StateMap::AncestorId StateMap::GetAncestorId(
248 const StateMap::AncestorState& state) {

Callers 5

AddIdentityNodeMethod · 0.80
AddIfNodeMethod · 0.80
FunctionalizeInternalMethod · 0.80

Calls 3

idMethod · 0.45
sizeMethod · 0.45
atMethod · 0.45

Tested by

no test coverage detected