Searched refs:compile_node (Results 1 – 6 of 6) sorted by relevance
/external/python/cpython3/Lib/lib2to3/ |
D | patcomp.py | 63 return self.compile_node(root), root 65 return self.compile_node(root) 67 def compile_node(self, node): member in PatternCompiler 79 alts = [self.compile_node(ch) for ch in node.children[::2]] 86 units = [self.compile_node(ch) for ch in node.children] 161 content = [self.compile_node(nodes[1].children[1])] 166 return self.compile_node(nodes[1]) 169 subpattern = self.compile_node(nodes[1])
|
/external/python/cpython2/Lib/lib2to3/ |
D | patcomp.py | 63 return self.compile_node(root), root 65 return self.compile_node(root) 67 def compile_node(self, node): member in PatternCompiler 79 alts = [self.compile_node(ch) for ch in node.children[::2]] 86 units = [self.compile_node(ch) for ch in node.children] 161 content = [self.compile_node(nodes[1].children[1])] 166 return self.compile_node(nodes[1]) 169 subpattern = self.compile_node(nodes[1])
|
/external/tensorflow/tensorflow/core/tpu/graph_rewrite/ |
D | host_training_loop_optimization_util.cc | 113 Status ExtractExecuteNodeInfo(const Node* compile_node, const Graph& graph, in ExtractExecuteNodeInfo() argument 119 GetNodeAttr(compile_node->attrs(), "metadata", &metadata_string)); in ExtractExecuteNodeInfo() 127 for (Node* node : compile_node->out_nodes()) { in ExtractExecuteNodeInfo() 447 const auto compile_node = node_it->second; in AddReshardOp() local 453 ExtractExecuteNodeInfo(compile_node, *graph, host_loop_info.loop_nodes, in AddReshardOp() 471 compile_node->ClearAttr("metadata"); in AddReshardOp() 472 compile_node->AddAttr("metadata", new_metadata_string); in AddReshardOp() 558 FindEdgeConnecting(compile_node, execute_node); in AddReshardOp() 559 graph->AddEdge(compile_node, compilation_key_edge->src_output(), in AddReshardOp()
|
D | distributed_tpu_rewrite_pass.h | 365 Node** compile_node, int64 autotuner_thresh); 370 Node* replicate_node, Node* compile_node, 438 Node* compile_node, const std::vector<Node*>& variable_reads, 450 static Status ConnectHostComputeNodes(Node* compile_node,
|
D | distributed_tpu_rewrite_pass.cc | 2318 Node** compile_node, int64 autotuner_thresh) { in BuildCompileNode() argument 2441 *compile_node = graph->AddNode(def, &status); in BuildCompileNode() 2444 (*compile_node)->set_assigned_device_name(compile_device); in BuildCompileNode() 2447 graph->AddEdge(dynamic_shape_nodes[i], 0, *compile_node, i); in BuildCompileNode() 2451 graph->AddEdge(guaranteed_constant_nodes[i], 0, *compile_node, in BuildCompileNode() 2546 Node* compile_node, Node* key_placeholder_node, Graph* graph) { in ConnectHostComputeNodes() argument 2575 graph->AddEdge(compile_node, 1, node, input_index); in ConnectHostComputeNodes() 2895 Node* compile_node, const std::vector<Node*>& variable_reads, in BuildExecuteNodes() argument 3276 graph->AddEdge(compile_node, core + 1, node, node->num_inputs() - 1); in BuildExecuteNodes() 3434 write.predicate = compile_node; in BuildExecuteNodes() [all …]
|
/external/python/cpython2/Lib/compiler/ |
D | transformer.py | 124 return self.compile_node(tree) 145 def compile_node(self, node): member in Transformer
|