Home
last modified time | relevance | path

Searched refs:to_node (Results 1 – 20 of 20) 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/v8/src/handles/
Dglobal-handles.cc1046 TracedNode* to_node = TracedNode::FromLocation(*to); in MoveTracedGlobal() local
1053 if (!to_node) { in MoveTracedGlobal()
1059 to_on_stack = to_node->is_on_stack(); in MoveTracedGlobal()
1070 DCHECK_IMPLIES(to_node, in MoveTracedGlobal()
1071 to_node->has_destructor() == from_node->has_destructor()); in MoveTracedGlobal()
1076 if (!to_node) { in MoveTracedGlobal()
1082 to_node = TracedNode::FromLocation(*to); in MoveTracedGlobal()
1083 DCHECK(to_node->markbit()); in MoveTracedGlobal()
1085 DCHECK(to_node->IsInUse()); in MoveTracedGlobal()
1086 to_node->CopyObjectReference(*from_node); in MoveTracedGlobal()
[all …]
/external/tensorflow/tensorflow/python/autograph/pyct/
Danno.py137 def copyanno(from_node, to_node, key, field_name='___pyct_anno'): argument
140 to_node,
/external/tensorflow/tensorflow/core/grappler/optimizers/data/
Dgraph_utils.cc323 NodeDef* to_node) { in CopyAttribute() argument
324 (*to_node->mutable_attr())[attribute_name] = from.attr().at(attribute_name); in CopyAttribute()
328 const NodeDef& second, NodeDef* to_node) { in ConcatAttributeList() argument
329 CopyAttribute(attribute_name, first, to_node); in ConcatAttributeList()
330 (*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.cc491 const HloInstruction* to_node = kv.first.second; in Header() local
517 to_node ? tensorflow::gtl::FindWithDefault(node_ids_, to_node, -1) in Header()
519 if (to_node != nullptr && to_node_id == -1) { in Header()
520 LOG(FATAL) << to_node->name() << " was added to edges but not to nodes"; in Header()
526 if (to_node) { in Header()
528 << from_node->name() << " to node " << to_node->name(); in Header()
536 if (to_node) { in Header()
542 if (to_node->IsFused() && to_node->opcode() == HloOpcode::kParameter) { in Header()
543 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/perfetto/tools/
Dgen_amalgamated193 to_node = self._get_or_create_node(to_target)
194 assert from_node is not to_node
195 from_node.add_dependency(to_node)
/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.cc164 NodeDef* to_node, NodeMap* node_map) { in RemoveEdge() argument
165 protobuf::RepeatedPtrField<string>* inputs = to_node->mutable_input(); in RemoveEdge()
175 " at node ", to_node->name()); in RemoveEdge()
178 node_map->RemoveOutput(from_node_name, to_node->name()); in RemoveEdge()
/external/tensorflow/tensorflow/lite/delegates/gpu/common/
Dmodel.h611 const Node* to_node, Value<TensorT>** output) { in ConnectTwoNodes() argument
614 RETURN_IF_ERROR(graph->AddConsumer(to_node->id, link->id)); in ConnectTwoNodes()