Home
last modified time | relevance | path

Searched refs:ctrl_input (Results 1 – 2 of 2) sorted by relevance

/external/tensorflow/tensorflow/core/grappler/optimizers/
Ddependency_optimizer.cc310 const string ctrl_input = ConstantFolding::AddControlDependency( in OptimizeNode() local
312 ctrl_inputs.insert(ctrl_input); in OptimizeNode()
313 node->set_input(pos, ctrl_input); in OptimizeNode()
314 node_map_->UpdateInput(node_name, old_input, ctrl_input); in OptimizeNode()
Dconstant_folding.cc84 bool MaybeAddControlInput(const string& ctrl_input, NodeDef* node, in MaybeAddControlInput() argument
88 if (input == ctrl_input || AsControlDependency(input) == ctrl_input) { in MaybeAddControlInput()
95 ConstantFolding::AddControlDependency(ctrl_input, graph, node_map); in MaybeAddControlInput()
97 node_map->AddOutput(NodeName(ctrl_input), node->name()); in MaybeAddControlInput()