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

Method AddControllingFanin

tensorflow/core/grappler/utils/graph_view.cc:353–362  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

351}
352
353void Mutation::AddControllingFanin(MutableNodeView* node,
354 absl::string_view fanin_node_name) {
355 AddMutation(node, [node, fanin_node_name](MutableNodeViewDiff* diff) {
356 auto it = node->controlling_fanins_index_.find(fanin_node_name);
357 const int control_index = it != node->controlling_fanins_index_.end()
358 ? it->second
359 : internal::kMissingIndex;
360 internal::AddControllingFanin(diff, control_index, fanin_node_name);
361 });
362}
363
364void Mutation::AddControllingFanin(const MutationNewNode& node,
365 absl::string_view fanin_node_name) {

Callers 4

TESTFunction · 0.45
TEST_FFunction · 0.45
ForwardFaninsFunction · 0.45

Calls 3

AddControllingFaninFunction · 0.85
findMethod · 0.45
endMethod · 0.45

Tested by 3

TESTFunction · 0.36
TEST_FFunction · 0.36