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

Method GetAncestorId

tensorflow/compiler/tf2xla/functionalize_cond.cc:247–251  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

245}
246
247StateMap::AncestorId StateMap::GetAncestorId(
248 const StateMap::AncestorState& state) {
249 if (state.empty()) return nullptr;
250 return &*ancestorstate_set_.insert(state).first;
251}
252
253void StateMap::ResetAncestorId(const Node* node, StateMap::AncestorId id) {
254 if (node->id() < node_to_ancestorid_map_.size())

Callers 1

Calls 2

emptyMethod · 0.45
insertMethod · 0.45

Tested by

no test coverage detected