Home
last modified time | relevance | path

Searched refs:to_node (Results 1 – 23 of 23) sorted by relevance

/external/tensorflow/tensorflow/core/grappler/
Dmutable_graph_view.cc153 NodeDef* to_node) { in SwapFanoutInputs() argument
156 SwapControlledFanoutInputs(graph, from_control_fanouts, to_node->name()); in SwapFanoutInputs()
158 auto to_control_fanouts = fanouts->find({to_node, Graph::kControlSlot}); in SwapFanoutInputs()
164 SwapRegularFanoutInputs(fanouts, from_node, to_node->name(), in SwapFanoutInputs()
167 auto to_max_port = max_output_ports->find(to_node); in SwapFanoutInputs()
169 SwapRegularFanoutInputs(fanouts, to_node, from_node->name(), in SwapFanoutInputs()
195 NodeDef* from_node, NodeDef* to_node) { in SwapRegularFanoutsAndMaxPortValues() argument
197 auto to_max_port = max_output_ports->find(to_node); in SwapRegularFanoutsAndMaxPortValues()
221 MutableGraphView::OutputPort to_port(to_node, i); in SwapRegularFanoutsAndMaxPortValues()
227 forward_fanouts(to_node, from_node, shared + 1, to); in SwapRegularFanoutsAndMaxPortValues()
[all …]
Dmutable_graph_view.h284 Status UpdateFanoutsInternal(NodeDef* from_node, NodeDef* to_node);
/external/ltp/testcases/kernel/syscalls/move_pages/
Dmove_pages02.c80 unsigned int to_node; in main() local
83 ret = get_allowed_nodes(NH_MEMS, 2, &from_node, &to_node); in main()
101 nodes[i] = to_node; in main()
117 verify_pages_on_node(pages, status, TEST_PAGES, to_node); in main()
Dmove_pages03.c118 unsigned int to_node; in main() local
121 ret = get_allowed_nodes(NH_MEMS, 2, &from_node, &to_node); in main()
141 nodes[i] = to_node; in main()
174 verify_pages_on_node(pages, status, TEST_PAGES, to_node); in main()
Dmove_pages07.c80 unsigned int to_node; in main() local
83 ret = get_allowed_nodes(NH_MEMS, 2, &from_node, &to_node); in main()
102 nodes[i] = to_node; in main()
Dmove_pages10.c80 unsigned int to_node; in main() local
83 ret = get_allowed_nodes(NH_MEMS, 2, &from_node, &to_node); in main()
101 nodes[i] = to_node; in main()
Dmove_pages06.c80 unsigned int to_node; in main() local
100 to_node = numa_max_node() + 1; in main()
102 nodes[i] = to_node; in main()
Dmove_pages04.c91 unsigned int to_node; in main() local
99 ret = get_allowed_nodes(NH_MEMS, 2, &from_node, &to_node); in main()
126 nodes[i] = to_node; in main()
Dmove_pages11.c119 unsigned int to_node; in main() local
122 ret = get_allowed_nodes(NH_MEMS, 2, &from_node, &to_node); in main()
142 nodes[i] = to_node; in main()
Dmove_pages05.c119 unsigned int to_node; in main() local
122 ret = get_allowed_nodes(NH_MEMS, 2, &from_node, &to_node); in main()
148 nodes[i] = to_node; in main()
/external/tensorflow/tensorflow/python/autograph/pyct/
Dorigin_info.py284 def copy_origin(from_node, to_node): argument
289 if not isinstance(to_node, (list, tuple)):
290 to_node = (to_node,)
291 for node in to_node:
Danno.py156 def copyanno(from_node, to_node, key, field_name='___pyct_anno'): argument
159 to_node,
/external/tensorflow/tensorflow/core/grappler/optimizers/data/
Dgraph_utils.cc324 NodeDef* to_node) { in CopyAttribute() argument
325 (*to_node->mutable_attr())[attribute_name] = from.attr().at(attribute_name); in CopyAttribute()
329 const NodeDef& second, NodeDef* to_node) { in ConcatAttributeList() argument
330 CopyAttribute(attribute_name, first, to_node); in ConcatAttributeList()
331 (*to_node->mutable_attr()) in ConcatAttributeList()
Dgraph_utils.h152 NodeDef* to_node);
157 const NodeDef& second, NodeDef* to_node);
/external/tensorflow/tensorflow/compiler/xla/service/
Dhlo_graph_dumper.cc493 const HloInstruction* to_node = kv.first.second; in Header() local
519 to_node ? tensorflow::gtl::FindWithDefault(node_ids_, to_node, -1) in Header()
521 if (to_node != nullptr && to_node_id == -1) { in Header()
522 LOG(FATAL) << to_node->name() << " was added to edges but not to nodes"; in Header()
528 if (to_node) { in Header()
530 << from_node->name() << " to node " << to_node->name(); in Header()
538 if (to_node) { in Header()
544 if (to_node->IsFused() && to_node->opcode() == HloOpcode::kParameter) { in Header()
545 int64 cluster_id = cluster_ids_.at(to_node->parent()); in Header()
/external/tensorflow/tensorflow/core/grappler/utils/
Dgraph_view.h394 const MutableNodeView* to_node) { in TopologicalDependency() argument
395 if (from_node->graph_view_ == to_node->graph_view_) { in TopologicalDependency()
398 to_ = to_node->node_index_; in TopologicalDependency()
/external/llvm-project/libcxx/utils/
Dgraph_header_deps.py159 to_node = self.canonical.getNodeByLabel(e.attributes['label']).id
160 self.canonical.addEdge(new_name, to_node)
/external/perfetto/tools/
Dgen_amalgamated195 to_node = self._get_or_create_node(to_target)
196 assert from_node is not to_node
197 from_node.add_dependency(to_node)
/external/tensorflow/tensorflow/lite/delegates/gpu/common/
Dmodel.cc483 const Node* to_node, Value** output) { in ConnectTwoNodes() argument
492 RETURN_IF_ERROR(graph->AddConsumer(to_node->id, (*output)->id)); in ConnectTwoNodes()
497 RETURN_IF_ERROR(graph->AddConsumer(to_node->id, link->id)); in ConnectTwoNodes()
Dmodel.h258 const Node* to_node, Value** output);
/external/llvm-project/compiler-rt/lib/sanitizer_common/
Dsanitizer_deadlock_detector.h258 bool findEdge(uptr from_node, uptr to_node, u32 *stk_from, u32 *stk_to, in findEdge() argument
261 uptr to_idx = nodeToIndex(to_node); in findEdge()
/external/compiler-rt/lib/sanitizer_common/
Dsanitizer_deadlock_detector.h264 bool findEdge(uptr from_node, uptr to_node, u32 *stk_from, u32 *stk_to, in findEdge() argument
267 uptr to_idx = nodeToIndex(to_node); in findEdge()
/external/tensorflow/tensorflow/core/grappler/optimizers/
Dscoped_allocator_optimizer.cc169 NodeDef* to_node, NodeMap* node_map) { in RemoveEdge() argument
170 protobuf::RepeatedPtrField<string>* inputs = to_node->mutable_input(); in RemoveEdge()
180 " at node ", to_node->name()); in RemoveEdge()
183 node_map->RemoveOutput(from_node_name, to_node->name()); in RemoveEdge()