Home
last modified time | relevance | path

Searched refs:curr_node (Results 1 – 8 of 8) sorted by relevance

/external/ltp/utils/ffsb-6.0-rc2/
Drbt.c717 rb_node *curr_node = node; in rbtree_insert_fixup() local
723 while (curr_node != tree->root && curr_node->parent->color == red) { in rbtree_insert_fixup()
729 grandparent = curr_node->parent->parent; in rbtree_insert_fixup()
731 if (curr_node->parent == grandparent->left) { in rbtree_insert_fixup()
744 curr_node->parent->color = black; in rbtree_insert_fixup()
749 curr_node = grandparent; in rbtree_insert_fixup()
757 if (curr_node == curr_node->parent->right) { in rbtree_insert_fixup()
758 curr_node = curr_node->parent; in rbtree_insert_fixup()
759 rbtree_rotate_left(tree, curr_node); in rbtree_insert_fixup()
765 curr_node->parent->color = black; in rbtree_insert_fixup()
[all …]
/external/tensorflow/tensorflow/core/graph/
Dcontrol_flow.cc103 const Node* curr_node = ready.front(); in BuildControlFlowInfo() local
105 const ControlFlowInfo& curr_info = (*info)[curr_node->id()]; in BuildControlFlowInfo()
110 if (IsExit(curr_node)) { in BuildControlFlowInfo()
118 for (const Edge* out_edge : curr_node->out_edges()) { in BuildControlFlowInfo()
130 parent_nodes[out->id()] = curr_node; in BuildControlFlowInfo()
142 FormatNodeForError(*curr_node), " is in frame '", frame_name, in BuildControlFlowInfo()
163 FormatNodeForError(*curr_node), " is in frame '", frame_name, in BuildControlFlowInfo()
/external/tensorflow/tensorflow/python/debug/lib/
Dstepper.py260 curr_node = self._get_node(curr_elem)
262 done.add(curr_node.name)
264 non_control_inputs = [inp for inp in curr_node.inputs]
265 control_inputs = [inp for inp in curr_node.control_inputs]
268 if curr_node.name not in node_inputs:
272 node_inputs[curr_node.name] = all_input_nodes
313 curr_node = stack.pop()
314 sorted_nodes.append(curr_node)
319 if curr_node in node_inputs[node]:
320 node_inputs[node].remove(curr_node)
[all …]
/external/tensorflow/tensorflow/core/common_runtime/eager/
Deager_executor.cc112 std::unique_ptr<EagerNode> curr_node; in Run() local
119 curr_node.reset(node_queue_.front()); in Run()
121 tensorflow::Status status = curr_node->Run(); in Run()
137 tensorflow::uint64 node_id = curr_node->id; in Run()
/external/tensorflow/tensorflow/core/grappler/optimizers/
Dmodel_pruner.cc209 NodeDef* curr_node = node_map.GetNode(curr); in IdentityNTerminalPorts() local
210 if (curr_node == nullptr || in IdentityNTerminalPorts()
211 visited.find(curr_node->name()) != visited.end()) { in IdentityNTerminalPorts()
218 if (IsIdentityN(*curr_node)) { in IdentityNTerminalPorts()
221 int pos = NodePositionIfSameNode(curr, curr_node->name()); in IdentityNTerminalPorts()
223 to_visit.push_back(curr_node->input(pos)); in IdentityNTerminalPorts()
225 for (const string& input : curr_node->input()) { in IdentityNTerminalPorts()
233 for (const string& input : curr_node->input()) { in IdentityNTerminalPorts()
236 visited.emplace(curr_node->name()); in IdentityNTerminalPorts()
/external/tensorflow/tensorflow/core/grappler/costs/
Dvirtual_scheduler.cc354 for (const auto* curr_node : fetch_fanin_nodes) { in Init() local
355 auto& curr_node_state = GetNodeStateOrCreateIt(curr_node); in Init()
356 const string curr_node_device = DeviceName(curr_node); in Init()
358 if (IsRecv(*curr_node)) { in Init()
359 const auto& attr = curr_node->attr(); in Init()
371 for (const string& input : curr_node->input()) { in Init()
390 input_node_state.outputs[input_node_port_num].push_back(curr_node); in Init()
402 input_node_state.outputs[0].push_back(curr_node); in Init()
406 auto send_and_recv = CreateSendRecv(input_node, curr_node, input_node, in Init()
425 feed_nodes.find(curr_node->name()) != feed_nodes.end(); in Init()
[all …]
/external/tensorflow/tensorflow/core/distributed_runtime/
Dscheduler.cc282 const Node* curr_node = nullptr; in GetNodeWithHighestPriority() local
286 curr_node = n; in GetNodeWithHighestPriority()
290 return curr_node; in GetNodeWithHighestPriority()
/external/tensorflow/tensorflow/core/common_runtime/
Dexecutor.cc1447 Node* curr_node = ready.front(); in BuildControlFlowInfo() local
1448 int curr_id = curr_node->id(); in BuildControlFlowInfo()
1452 if (IsEnter(curr_node)) { in BuildControlFlowInfo()
1455 GetNodeAttr(curr_node->attrs(), "frame_name", &frame_name)); in BuildControlFlowInfo()
1456 parent = curr_node; in BuildControlFlowInfo()
1457 } else if (IsExit(curr_node)) { in BuildControlFlowInfo()
1467 for (const Edge* out_edge : curr_node->out_edges()) { in BuildControlFlowInfo()