Searched refs:ctrl_input (Results 1 – 2 of 2) sorted by relevance
310 const string ctrl_input = ConstantFolding::AddControlDependency( in OptimizeNode() local312 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()
84 bool MaybeAddControlInput(const string& ctrl_input, NodeDef* node, in MaybeAddControlInput() argument88 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()