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

Method ResetCondId

tensorflow/compiler/tf2xla/functionalize_cond.cc:234–239  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

232}
233
234void StateMap::ResetCondId(const Node* node, StateMap::CondId id) {
235 if (node->id() < node_to_condid_map_.size())
236 node_to_condid_map_[node->id()] = id;
237 else
238 added_node_condid_mapping_[node->id()] = id;
239}
240
241StateMap::AncestorId StateMap::LookupAncestorId(const Node* node) const {
242 if (node->id() < node_to_ancestorid_map_.size())

Callers 7

AddIdentityNodeMethod · 0.80
AddIfNodeMethod · 0.80
PropagateUpdatedStateMethod · 0.80
RemoveRedundantSwitchMethod · 0.80

Calls 2

idMethod · 0.45
sizeMethod · 0.45

Tested by

no test coverage detected