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

Method LookupCondId

tensorflow/compiler/tf2xla/functionalize_cond.cc:223–227  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

221}
222
223StateMap::CondId StateMap::LookupCondId(const Node* node) const {
224 if (node->id() < node_to_condid_map_.size())
225 return node_to_condid_map_[node->id()];
226 return added_node_condid_mapping_.at(node->id());
227}
228
229StateMap::CondId StateMap::GetCondId(const StateMap::CondState& state) {
230 if (state.empty()) return nullptr;

Callers 13

ExtractBodiesMethod · 0.80
AddIdentityNodeMethod · 0.80
AddIfNodeMethod · 0.80
PropagateUpdatedStateMethod · 0.80
StateAlongEdgeMethod · 0.80
RemoveRedundantMergeMethod · 0.80
RemoveRedundantSwitchMethod · 0.80
SortMergeNodesMethod · 0.80

Calls 3

idMethod · 0.45
sizeMethod · 0.45
atMethod · 0.45

Tested by

no test coverage detected