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

Method GetCondId

tensorflow/compiler/tf2xla/functionalize_cond.cc:229–232  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

227}
228
229StateMap::CondId StateMap::GetCondId(const StateMap::CondState& state) {
230 if (state.empty()) return nullptr;
231 return &*condstate_set_.insert(state).first;
232}
233
234void StateMap::ResetCondId(const Node* node, StateMap::CondId id) {
235 if (node->id() < node_to_condid_map_.size())

Callers 6

ExtractBodiesMethod · 0.80
AddIfNodeMethod · 0.80
JoinCondStatesMergeMethod · 0.80
StateAlongEdgeMethod · 0.80
GetUniqueIdMethod · 0.80

Calls 2

emptyMethod · 0.45
insertMethod · 0.45

Tested by 1

GetUniqueIdMethod · 0.64